Leo
5 months ago
committed by
GitHub
8 changed files with 105 additions and 0 deletions
@ -0,0 +1,23 @@ |
|||
<clickhouse> |
|||
<logger> |
|||
<level>warning</level> |
|||
<console>true</console> |
|||
</logger> |
|||
|
|||
<!-- |
|||
Avoid the warning: "Listen [::]:9009 failed: Address family for hostname not supported". |
|||
If Docker has IPv6 disabled, bind ClickHouse to IPv4 to prevent this issue. |
|||
Add this to the configuration to ensure it listens on all IPv4 interfaces: |
|||
<listen_host>0.0.0.0</listen_host> |
|||
--> |
|||
|
|||
<!-- Stop all the unnecessary logging --> |
|||
<query_thread_log remove="remove"/> |
|||
<query_log remove="remove"/> |
|||
<text_log remove="remove"/> |
|||
<trace_log remove="remove"/> |
|||
<metric_log remove="remove"/> |
|||
<asynchronous_metric_log remove="remove"/> |
|||
<session_log remove="remove"/> |
|||
<part_log remove="remove"/> |
|||
</clickhouse> |
@ -0,0 +1,8 @@ |
|||
<clickhouse> |
|||
<profiles> |
|||
<default> |
|||
<log_queries>0</log_queries> |
|||
<log_query_threads>0</log_query_threads> |
|||
</default> |
|||
</profiles> |
|||
</clickhouse> |
@ -0,0 +1,43 @@ |
|||
services: |
|||
app_proxy: |
|||
environment: |
|||
APP_HOST: plausible_plausible_1 |
|||
APP_PORT: 8000 |
|||
|
|||
plausible_db: |
|||
# Plausible v2.1.1 was tested against PostgreSQL versions 15 and 16 |
|||
# https://github.com/plausible/analytics/blob/v2.1.1/.github/workflows/elixir.yml#L21-L32 |
|||
image: postgres:16-alpine@sha256:492898505cb45f9835acc327e98711eaa9298ed804e0bb36f29e08394229550d |
|||
restart: on-failure |
|||
user: "1000:1000" |
|||
volumes: |
|||
- ${APP_DATA_DIR}/db-data:/var/lib/postgresql/data |
|||
environment: |
|||
- POSTGRES_PASSWORD=postgres |
|||
|
|||
plausible_events_db: |
|||
image: clickhouse/clickhouse-server:24.3.3.102-alpine@sha256:f226fe41f0578968b7f68a54b902d203ff4decfddfccb97c89fe5bfc36a51b66 |
|||
restart: on-failure |
|||
user: "1000:1000" |
|||
volumes: |
|||
- ${APP_DATA_DIR}/event-data:/var/lib/clickhouse |
|||
- ${APP_DATA_DIR}/event-logs:/var/log/clickhouse-server |
|||
- ${APP_DATA_DIR}/clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro |
|||
- ${APP_DATA_DIR}/clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro |
|||
ulimits: |
|||
nofile: |
|||
soft: 262144 |
|||
hard: 262144 |
|||
|
|||
plausible: |
|||
image: ghcr.io/plausible/community-edition:v2.1.1@sha256:2085e7a4bafd4bb1824e5fa1131ebdbd8ca78da1b2ebdefbc887f971f24f53c9 |
|||
restart: on-failure |
|||
user: "1000:1000" |
|||
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run" |
|||
depends_on: |
|||
- plausible_db |
|||
- plausible_events_db |
|||
environment: |
|||
- BASE_URL=http://${DEVICE_DOMAIN_NAME}:9092 |
|||
- SECRET_KEY_BASE=${APP_SEED} |
|||
- TOTP_VAULT_KEY=${APP_PLAUSIBLE_VAULT_KEY} |
@ -0,0 +1,2 @@ |
|||
# 32 byte long string used for encrypting TOTP secrets at rest using AES256-GCM. Must not change on app restart. |
|||
export APP_PLAUSIBLE_VAULT_KEY=$(openssl dgst -sha256 -binary <<< "$(derive_entropy "env-${app_entropy_identifier}-APP_VAULT_KEY")" | base64) |
@ -0,0 +1,29 @@ |
|||
manifestVersion: 1 |
|||
id: plausible |
|||
category: developer |
|||
name: Plausible Analytics |
|||
version: "2.1.1" |
|||
tagline: Easy to use and privacy-friendly Google Analytics alternative |
|||
description: >- |
|||
Plausible is intuitive, lightweight and open source web analytics. |
|||
No cookies and fully compliant with GDPR, CCPA and PECR. |
|||
|
|||
|
|||
⚙️ You may need to expose Plausible to the web in order to use the app in its intended way with websites. |
|||
The easiest way to do this is to use the 'Cloudflare Tunnel' app from the Umbrel app store, and expose Plausible to the internet using your own domain. |
|||
releaseNotes: "" |
|||
developer: Plausible Community Edition |
|||
website: https://plausible.io/ |
|||
repo: https://github.com/plausible/community-edition/ |
|||
support: https://github.com/plausible/community-edition/issues |
|||
port: 9092 |
|||
gallery: |
|||
- 1.jpg |
|||
- 2.jpg |
|||
- 3.jpg |
|||
path: "" |
|||
defaultUsername: "" |
|||
defaultPassword: "" |
|||
dependencies: [] |
|||
submitter: ~dibref-labter |
|||
submission: https://github.com/getumbrel/umbrel-apps/pull/1371 |
Loading…
Reference in new issue