; database.env — Postgres connection config ; Docker service name is "postgres", so internal Docker networking uses that as the host [default] HOST=localhost PORT=5432 USER=${secrets.DB_USER} PASSWORD=${secrets.DB_PASSWORD} NAME=myapp_dev URL=postgresql://${database.USER}:${database.PASSWORD}@${database.HOST}:${database.PORT}/${database.NAME} [docker] HOST=postgres URL=postgresql://${database.USER}:${database.PASSWORD}@postgres:${database.PORT}/${database.NAME} [production] HOST=${secrets.DB_HOST} NAME=myapp URL=postgresql://${database.USER}:${database.PASSWORD}@${secrets.DB_HOST}:${database.PORT}/${database.NAME}