remove useless health check

This commit is contained in:
Peter Smit
2025-04-07 15:57:39 +02:00
parent 07230b7556
commit cfb0a2862c

View File

@@ -4,8 +4,7 @@ services:
ports: ports:
- 3001:3000 - 3001:3000
depends_on: depends_on:
spliit_db: - spliit_db
condition: service_healthy
environment: environment:
TZ: ${TZ} TZ: ${TZ}
POSTGRES_HOST: spliit_db POSTGRES_HOST: spliit_db
@@ -16,11 +15,6 @@ services:
image: postgres:17 image: postgres:17
volumes: volumes:
- ${SPLIIT_POSTGRES_DIR}:/var/lib/postgresql/data - ${SPLIIT_POSTGRES_DIR}:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 5s
timeout: 5s
retries: 5
environment: environment:
TZ: ${TZ} TZ: ${TZ}
POSTGRES_DB: ${SPLIIT_POSTGRES_DB} POSTGRES_DB: ${SPLIIT_POSTGRES_DB}