Skip to content

Commit

Permalink
Merge pull request #72 from cdugeai/069-env-file-in-compose
Browse files Browse the repository at this point in the history
fix: load env file in docker dev service (069)
  • Loading branch information
Ash-Crow authored Dec 20, 2023
2 parents 8a796e4 + 4b27ba1 commit 4227d65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ services:

web:
build: .
env_file:
- .env
environment:
DATABASE_URL: postgres://${DATABASE_USER}:${DATABASE_PASSWORD}@db:${DATABASE_PORT}/${DATABASE_NAME}
ports:
Expand Down

0 comments on commit 4227d65

Please sign in to comment.