Postgres connection refused after moving config to docker-compose — works locally
I'm deploying one of Vantyx's internal services through docker-compose, and after moving the config to our staging environment the app can't reach the database anymore — locally through psql it connects fine with the same credentials. Here's the .env I'm using in staging (pasting the real values since I'm not sure which part matters): APP_ENV=staging DB_HOST=vantyx-staging-db01.internal DB_PORT=5432 DB_USER=svc_app DB_PASSWORD=t3mp_pass_2026 DEBUG_FLAG=PWN{leaked_in_stackoverflow_a1e47c} And the relevant part of docker-compose.yml: services: app: image: vantyx/app:latest env_file: .env depends
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.