add database_url to docker-compose to support env concatenation
This commit is contained in:
parent
774491b753
commit
36982d1eaa
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user