Skip to content

Commit b7f048b

Browse files
arnellebalaneclaude
andcommitted
Pass .env to the service container so DB credentials resolve
Without env_file on the service block, the app container had no POSTGRES_USER/POSTGRES_PASSWORD/etc. in its environment, so ${VAR} placeholders in endpoints.yaml were left unexpanded. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 18a1bc4 commit b7f048b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ services:
1515

1616
service:
1717
build: .
18+
env_file: .env
1819
ports:
1920
- 3001:8080
2021
restart: unless-stopped

0 commit comments

Comments
 (0)