adds PORT to container environment

This commit is contained in:
Sameer Naik
2017-01-13 15:50:54 +05:30
parent c26ac0ae35
commit 8c7e42ca89
2 changed files with 2 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ services:
tty: true # Enables debugging capabilities when attached to this container.
image: bitnami/express:latest
environment:
- PORT=3000
- DATABASE_URL=mysql://root@mariadb/my_app_development
depends_on:
- mariadb

View File

@@ -8,6 +8,7 @@ services:
tty: true # Enables debugging capabilities when attached to this container.
image: bitnami/express:latest
environment:
- PORT=3000
- DATABASE_URL=mongodb://mongodb:27017/my_app_development
depends_on:
- mongodb