Skip to content

Commit 4e949e8

Browse files
committed
Revert "Add health check to docker compose (#141)"
This reverts commit 43e8842.
1 parent 9cd73d9 commit 4e949e8

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

docker-compose.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ services:
88
- db-data:/var/lib/postgresql/data
99
environment:
1010
- POSTGRES_PASSWORD=postgres
11-
healthcheck:
12-
test: pg_isready
13-
start_interval: 2s
14-
start_period: 1m
1511

1612
plausible_events_db:
1713
image: clickhouse/clickhouse-server:24.3.3.102-alpine
@@ -21,10 +17,6 @@ services:
2117
- event-logs:/var/log/clickhouse-server
2218
- ./clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
2319
- ./clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
24-
healthcheck:
25-
test: wget --no-verbose --tries=1 --spider http://127.0.0.1:8123/ping || exit 1
26-
start_interval: 2s
27-
start_period: 1m
2820
ulimits:
2921
nofile:
3022
soft: 262144
@@ -34,15 +26,9 @@ services:
3426
image: ghcr.io/plausible/community-edition:v2.1.1
3527
restart: always
3628
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
37-
healthcheck:
38-
test: wget --no-verbose --tries=1 --spider http://127.0.0.1:8000 || exit 1
39-
start_interval: 2s
40-
start_period: 1m
4129
depends_on:
42-
plausible_db:
43-
condition: service_healthy
44-
plausible_events_db:
45-
condition: service_healthy
30+
- plausible_db
31+
- plausible_events_db
4632
ports:
4733
- 127.0.0.1:8000:8000
4834
env_file:

0 commit comments

Comments
 (0)