fix: hardcode pg_isready args to avoid podman-compose $$ escaping issue

https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH
This commit is contained in:
Claude 2026-03-26 11:33:57 +00:00
parent 22a6ab103c
commit bd863cdf33
No known key found for this signature in database

View file

@ -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