forked from github.com/plausible-hosting
Compare commits
No commits in common. "fead7f0ce2f2e86c9c94f0ee379b28d21d0fac23" and "f7682057104671b42e3fff3a106f93a32ea14775" have entirely different histories.
fead7f0ce2
...
f768205710
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
plausible-conf.env
|
|
||||||
data/
|
|
@ -1,10 +1,14 @@
|
|||||||
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:
|
||||||
- ./data/postgres:/var/lib/postgresql/data
|
- db-data:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=postgres
|
- POSTGRES_PASSWORD=postgres
|
||||||
|
|
||||||
@ -12,7 +16,7 @@ services:
|
|||||||
image: yandex/clickhouse-server:21.3.2.5
|
image: yandex/clickhouse-server:21.3.2.5
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/clickhouse:/var/lib/clickhouse
|
- event-data:/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:
|
||||||
@ -27,7 +31,16 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- plausible_db
|
- plausible_db
|
||||||
- plausible_events_db
|
- plausible_events_db
|
||||||
|
- mail
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:84:8000
|
- 8000:8000
|
||||||
env_file:
|
env_file:
|
||||||
- plausible-conf.env
|
- plausible-conf.env
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
db-data:
|
||||||
|
driver: local
|
||||||
|
event-data:
|
||||||
|
driver: local
|
||||||
|
geoip:
|
||||||
|
driver: local
|
||||||
|
5
plausible-conf.env
Normal file
5
plausible-conf.env
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
ADMIN_USER_EMAIL=replace-me
|
||||||
|
ADMIN_USER_NAME=replace-me
|
||||||
|
ADMIN_USER_PWD=replace-me
|
||||||
|
BASE_URL=replace-me
|
||||||
|
SECRET_KEY_BASE=replace-me
|
Loading…
x
Reference in New Issue
Block a user