fix: change db healthcheck to specify db name
This commit is contained in:
@@ -63,7 +63,7 @@ compose_yml = f"""services:
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD", "pg_isready", "-U", "{db_user}"]
|
||||
test: ["CMD", "pg_isready", "-U", {db_user}, "-d", {db_name}]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user