towards healthchecks for all containers
This commit is contained in:
@@ -11,3 +11,8 @@ services:
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /opt/postgis:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user