mirror of
https://github.com/plausible/hosting.git
synced 2025-06-15 02:07:29 -05:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
e32be4cef1 | |||
f9902dbce7 | |||
746c7d0e90 |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
plausible-conf.env
|
||||||
|
.env
|
||||||
|
data/
|
@ -1,15 +1,11 @@
|
|||||||
version: "3.3"
|
version: "3.3"
|
||||||
services:
|
services:
|
||||||
mail:
|
|
||||||
image: bytemark/smtp
|
|
||||||
restart: always
|
|
||||||
|
|
||||||
plausible_db:
|
plausible_db:
|
||||||
# supported versions are 12, 13, and 14
|
# supported versions are 12, 13, and 14
|
||||||
image: postgres:14-alpine
|
image: postgres:14-alpine
|
||||||
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
|
||||||
|
|
||||||
@ -17,7 +13,7 @@ services:
|
|||||||
image: clickhouse/clickhouse-server:23.3.7.5-alpine
|
image: clickhouse/clickhouse-server:23.3.7.5-alpine
|
||||||
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:
|
||||||
@ -32,14 +28,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
|
- .env
|
||||||
|
|
||||||
volumes:
|
|
||||||
db-data:
|
|
||||||
driver: local
|
|
||||||
event-data:
|
|
||||||
driver: local
|
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
BASE_URL=replace-me
|
|
||||||
SECRET_KEY_BASE=replace-me
|
|
Reference in New Issue
Block a user