move healthcheck to container compose file

This commit is contained in:
2025-02-07 10:20:56 +02:00
parent 3e5169cba5
commit 6c33922677
2 changed files with 5 additions and 5 deletions

View File

@@ -7,4 +7,7 @@ services:
volumes:
- ${DOCKERDIR}/${COMPOSE_PROJECT_NAME}/db:/var/lib/postgresql/data
#ports:
# - "5432:5432"
# - "5432:5432"
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 3s