Remove postgres database from compose
This commit is contained in:
-14
@@ -1,15 +1,4 @@
|
|||||||
services:
|
services:
|
||||||
plausible_db:
|
|
||||||
image: postgres:16-alpine
|
|
||||||
restart: always
|
|
||||||
volumes:
|
|
||||||
- db-data:/var/lib/postgresql/data
|
|
||||||
environment:
|
|
||||||
- POSTGRES_PASSWORD=postgres
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
|
||||||
start_period: 1m
|
|
||||||
|
|
||||||
plausible_events_db:
|
plausible_events_db:
|
||||||
image: clickhouse/clickhouse-server:24.12-alpine
|
image: clickhouse/clickhouse-server:24.12-alpine
|
||||||
restart: always
|
restart: always
|
||||||
@@ -43,8 +32,6 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
command: sh -c "/entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
|
command: sh -c "/entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
|
||||||
depends_on:
|
depends_on:
|
||||||
plausible_db:
|
|
||||||
condition: service_healthy
|
|
||||||
plausible_events_db:
|
plausible_events_db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
@@ -94,7 +81,6 @@ services:
|
|||||||
- SENDGRID_API_KEY
|
- SENDGRID_API_KEY
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db-data:
|
|
||||||
event-data:
|
event-data:
|
||||||
event-logs:
|
event-logs:
|
||||||
plausible-data:
|
plausible-data:
|
||||||
|
|||||||
Reference in New Issue
Block a user