forked from github.com/plausible-hosting
Customize docker compose config
This commit is contained in:
parent
cd67194649
commit
fead7f0ce2
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
plausible-conf.env
|
plausible-conf.env
|
||||||
|
data/
|
||||||
|
@ -1,14 +1,10 @@
|
|||||||
version: "3.3"
|
version: "3.3"
|
||||||
services:
|
services:
|
||||||
mail:
|
|
||||||
image: bytemark/smtp
|
|
||||||
restart: always
|
|
||||||
|
|
||||||
plausible_db:
|
plausible_db:
|
||||||
image: postgres:12
|
image: postgres:12
|
||||||
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
|
||||||
|
|
||||||
@ -16,7 +12,7 @@ services:
|
|||||||
image: yandex/clickhouse-server:21.3.2.5
|
image: yandex/clickhouse-server:21.3.2.5
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- event-data:/var/lib/clickhouse
|
- ./data/clickhouse:/var/lib/clickhouse
|
||||||
- ./clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
|
- ./clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
|
||||||
- ./clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
|
- ./clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
|
||||||
ulimits:
|
ulimits:
|
||||||
@ -31,16 +27,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- plausible_db
|
- plausible_db
|
||||||
- plausible_events_db
|
- plausible_events_db
|
||||||
- mail
|
|
||||||
ports:
|
ports:
|
||||||
- 8000:8000
|
- 127.0.0.1:84:8000
|
||||||
env_file:
|
env_file:
|
||||||
- plausible-conf.env
|
- plausible-conf.env
|
||||||
|
|
||||||
volumes:
|
|
||||||
db-data:
|
|
||||||
driver: local
|
|
||||||
event-data:
|
|
||||||
driver: local
|
|
||||||
geoip:
|
|
||||||
driver: local
|
|
||||||
|
Loading…
Reference in New Issue
Block a user