mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-08 04:56:45 +00:00
fix healtcheck cmds for annotation tool postgres (#2840)
This commit is contained in:
parent
48644b23fb
commit
9ad90b2e23
@ -33,7 +33,7 @@ services:
|
||||
networks:
|
||||
- app-network
|
||||
healthcheck:
|
||||
test: "pg_isready --username=somesafeuser && psql --username=somesafepassword --list"
|
||||
test: "pg_isready --username=somesafeuser --dbname=databasename && psql --username=somesafeuser --list"
|
||||
timeout: 3s
|
||||
retries: 5
|
||||
restart: unless-stopped
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user