adds command instruction to docker-compose files

This commit is contained in:
Sameer Naik 2017-01-16 12:17:51 +05:30
parent e08f89339d
commit 33095d19f0
3 changed files with 3 additions and 0 deletions

View File

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

View File

@ -9,6 +9,7 @@ services:
myapp:
tty: true # Enables debugging capabilities when attached to this container.
image: bitnami/express:latest
command: npm start
environment:
- PORT=3000
- DATABASE_URL=postgres://postgres@postgresql/my_app_development

View File

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