remove useless health check
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user