move healthcheck to container compose file
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user