Remove latest to actual version, up on PgSQL, clickhouse to original up-to-date image #3
|
@ -1,16 +1,16 @@
|
|||
# plausible
|
||||
|
||||
TODO
|
||||
*Status:* Work in progress
|
||||
|
||||
<!-- metadata -->
|
||||
* **Category**: Apps
|
||||
* **Status**: 1, alpha
|
||||
* **Image**: [`plausible/analytics`](https://hub.docker.com/plausible/analytics), 4, upstream
|
||||
* **Healthcheck**:
|
||||
* **Backups**:
|
||||
* **Email**:
|
||||
* **Backups**: No
|
||||
* **Email**: No
|
||||
* **Tests**:
|
||||
* **SSO**:
|
||||
* **SSO**: No
|
||||
<!-- endmetadata -->
|
||||
|
||||
## Basic usage
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<yandex>
|
||||
<clickhouse>
|
||||
<logger>
|
||||
<level>warning</level>
|
||||
<console>true</console>
|
||||
|
@ -11,5 +11,5 @@
|
|||
<trace_log remove="remove"/>
|
||||
<metric_log remove="remove"/>
|
||||
<asynchronous_metric_log remove="remove"/>
|
||||
</yandex>
|
||||
</clickhouse>
|
||||
|
||||
|
|
18
compose.yml
18
compose.yml
|
@ -3,7 +3,7 @@ version: "3.8"
|
|||
|
||||
services:
|
||||
app:
|
||||
image: plausible/analytics:latest
|
||||
image: plausible/analytics:v1.5.1
|
||||
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh db init-admin && /entrypoint.sh run"
|
||||
depends_on:
|
||||
- db
|
||||
|
@ -31,19 +31,9 @@ services:
|
|||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
## Redirect from EXTRA_DOMAINS to DOMAIN
|
||||
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
# healthcheck:
|
||||
# test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
# interval: 30s
|
||||
# timeout: 10s
|
||||
# retries: 10
|
||||
# start_period: 1m
|
||||
|
||||
- coop-cloud.${STACK_NAME}.version=1.1+1.5.1
|
||||
db:
|
||||
image: postgres:12
|
||||
image: postgres:13.11-alpine
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
|
@ -54,7 +44,7 @@ services:
|
|||
- internal
|
||||
|
||||
plausible_events_db:
|
||||
image: yandex/clickhouse-server:21.3.2.5
|
||||
image: clickhouse/clickhouse-server:23.4.2.11-alpine
|
||||
volumes:
|
||||
- event-data:/var/lib/clickhouse
|
||||
configs:
|
||||
|
|
Loading…
Reference in New Issue