correct healthcheck of database
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ services:
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U trumpsignal -d trumpsignal"]
|
||||
test: ["CMD-SHELL", "pg_isready -U $SERVICE_USER_POSTGRES -d trumpsignal"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 20 # up to 100s total wait
|
||||
|
||||
Reference in New Issue
Block a user