forked from github.com/plausible-hosting
Compare commits
3 Commits
1818b04528
...
5c7c222d99
Author | SHA1 | Date | |
---|---|---|---|
5c7c222d99 | |||
5e528ab7fd | |||
020476a64e |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
plausible-conf.env
|
||||||
|
data/
|
||||||
|
.env
|
@ -3,6 +3,7 @@ services:
|
|||||||
# Plausible v2.1.1 was tested against PostgreSQL versions 15 and 16
|
# Plausible v2.1.1 was tested against PostgreSQL versions 15 and 16
|
||||||
# https://github.com/plausible/analytics/blob/v2.1.1/.github/workflows/elixir.yml#L21-L32
|
# https://github.com/plausible/analytics/blob/v2.1.1/.github/workflows/elixir.yml#L21-L32
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
|
stop_grace_period: 60s
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/postgres:/var/lib/postgresql/data
|
- ./data/postgres:/var/lib/postgresql/data
|
||||||
@ -11,6 +12,7 @@ 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:
|
||||||
- ./data/clickhouse:/var/lib/clickhouse
|
- ./data/clickhouse:/var/lib/clickhouse
|
||||||
@ -24,6 +26,7 @@ services:
|
|||||||
|
|
||||||
plausible:
|
plausible:
|
||||||
image: ghcr.io/plausible/community-edition:v2.1.1
|
image: ghcr.io/plausible/community-edition:v2.1.1
|
||||||
|
stop_grace_period: 60s
|
||||||
restart: always
|
restart: always
|
||||||
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
|
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -32,4 +35,4 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:84:8000
|
- 127.0.0.1:84:8000
|
||||||
env_file:
|
env_file:
|
||||||
- plausible-conf.env
|
- .env
|
@ -1,3 +0,0 @@
|
|||||||
BASE_URL=replace-me
|
|
||||||
SECRET_KEY_BASE=replace-me
|
|
||||||
TOTP_VAULT_KEY=replace-me
|
|
Reference in New Issue
Block a user