adds command instruction to docker-compose files
This commit is contained in:
parent
e08f89339d
commit
33095d19f0
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue