add database_url to docker-compose to support env concatenation

This commit is contained in:
Colin Griffin 2021-10-27 13:04:26 -04:00
parent 774491b753
commit 36982d1eaa

View File

@ -16,6 +16,8 @@ services:
- 3000:3000 - 3000:3000
- 5555:5555 - 5555:5555
env_file: .env env_file: .env
environment:
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
depends_on: depends_on:
- db - db
volumes: volumes: