diff --git a/archived/forgejo/docker-compose-postgres.yml b/archived/forgejo/docker-compose-postgres.yml index 94816b7..7f5bfa7 100644 --- a/archived/forgejo/docker-compose-postgres.yml +++ b/archived/forgejo/docker-compose-postgres.yml @@ -12,7 +12,7 @@ services: - ${DB_PORT}:5432 restart: unless-stopped healthcheck: - test: ["CMD-SHELL", "pg_isready -d postgres -U ${POSTGRES_USER}"] + test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"] start_period: 20s interval: 30s retries: 5