fix: hardcode pg_isready args to avoid podman-compose $$ escaping issue
https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH
This commit is contained in:
parent
22a6ab103c
commit
bd863cdf33
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ services:
|
||||||
# SQL files here run once on first init (ignored if data volume already exists).
|
# SQL files here run once on first init (ignored if data volume already exists).
|
||||||
- ./postgres-init:/docker-entrypoint-initdb.d:ro
|
- ./postgres-init:/docker-entrypoint-initdb.d:ro
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
test: ["CMD-SHELL", "pg_isready -U hiy_admin -d hiy"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue