Compare commits

...

2 Commits

Author SHA1 Message Date
fead7f0ce2 Customize docker compose config 2022-04-08 01:27:19 -05:00
cd67194649 Hide plausible-conf.env 2022-04-08 00:59:44 -05:00
3 changed files with 5 additions and 21 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
plausible-conf.env
data/

View File

@ -1,14 +1,10 @@
version: "3.3"
services:
mail:
image: bytemark/smtp
restart: always
plausible_db:
image: postgres:12
restart: always
volumes:
- db-data:/var/lib/postgresql/data
- ./data/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
@ -16,7 +12,7 @@ services:
image: yandex/clickhouse-server:21.3.2.5
restart: always
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-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
ulimits:
@ -31,16 +27,7 @@ services:
depends_on:
- plausible_db
- plausible_events_db
- mail
ports:
- 8000:8000
- 127.0.0.1:84:8000
env_file:
- plausible-conf.env
volumes:
db-data:
driver: local
event-data:
driver: local
geoip:
driver: local

View File

@ -1,5 +0,0 @@
ADMIN_USER_EMAIL=replace-me
ADMIN_USER_NAME=replace-me
ADMIN_USER_PWD=replace-me
BASE_URL=replace-me
SECRET_KEY_BASE=replace-me