mirror of
https://github.com/plausible/hosting.git
synced 2025-06-30 17:17:31 -05:00
Compare commits
4 Commits
v3.0.0
...
pre-rebase
Author | SHA1 | Date | |
---|---|---|---|
ebe81aadc0 | |||
72b07b8045 | |||
8b6e388e39 | |||
8e03e49d84 |
4
compose.override.yml
Normal file
4
compose.override.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
services:
|
||||||
|
plausible:
|
||||||
|
ports:
|
||||||
|
- 127.0.0.1:84:80
|
12
compose.yml
12
compose.yml
@ -1,9 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
plausible_db:
|
plausible_db:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
|
stop_grace_period: 60s
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db-data:/var/lib/postgresql/data
|
- ./data/postgres:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=postgres
|
- POSTGRES_PASSWORD=postgres
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@ -12,10 +13,11 @@ services:
|
|||||||
|
|
||||||
plausible_events_db:
|
plausible_events_db:
|
||||||
image: clickhouse/clickhouse-server:24.3.3.102-alpine
|
image: clickhouse/clickhouse-server:24.3.3.102-alpine
|
||||||
|
stop_grace_period: 60s
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- event-data:/var/lib/clickhouse
|
- ./data/clickhouse:/var/lib/clickhouse
|
||||||
- event-logs:/var/log/clickhouse-server
|
- ./data/clickhouse-logs:/var/log/clickhouse-server
|
||||||
- ./clickhouse/logs.xml:/etc/clickhouse-server/config.d/logs.xml:ro
|
- ./clickhouse/logs.xml:/etc/clickhouse-server/config.d/logs.xml:ro
|
||||||
# This makes ClickHouse bind to IPv4 only, since Docker doesn't enable IPv6 in bridge networks by default.
|
# This makes ClickHouse bind to IPv4 only, since Docker doesn't enable IPv6 in bridge networks by default.
|
||||||
# Fixes "Listen [::]:9000 failed: Address family for hostname not supported" warnings.
|
# Fixes "Listen [::]:9000 failed: Address family for hostname not supported" warnings.
|
||||||
@ -33,6 +35,7 @@ services:
|
|||||||
|
|
||||||
plausible:
|
plausible:
|
||||||
image: ghcr.io/plausible/community-edition:v2.1.5
|
image: ghcr.io/plausible/community-edition:v2.1.5
|
||||||
|
stop_grace_period: 60s
|
||||||
restart: always
|
restart: always
|
||||||
command: sh -c "/entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
|
command: sh -c "/entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -87,7 +90,4 @@ services:
|
|||||||
- SENDGRID_API_KEY
|
- SENDGRID_API_KEY
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db-data:
|
|
||||||
event-data:
|
|
||||||
event-logs:
|
|
||||||
plausible-data:
|
plausible-data:
|
||||||
|
Reference in New Issue
Block a user