Skip to content

Commit 98c92d9

Browse files
author
Dennis Labordus
committed
Changed the healthy check for PostgreSQL.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent 51f9fb6 commit 98c92d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compas/docker-compose-postgresql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ services:
1616
- POSTGRES_DB=compas
1717
- PGDATA=/var/lib/postgresql/data/compas
1818
healthcheck:
19-
test: ["CMD-SHELL", "sleep 10 && pg_isready -U postgres"]
19+
test: ["CMD-SHELL", "pg_isready -U postgres"]
2020
interval: 5s
2121
timeout: 10s
2222
retries: 10

0 commit comments

Comments
 (0)