mirror of
https://github.com/bitnami/containers.git
synced 2026-02-15 00:57:23 +08:00
adds NODE_ENV env variable to dockerfile
This commit is contained in:
@@ -12,6 +12,7 @@ services:
|
||||
command: npm start
|
||||
environment:
|
||||
- PORT=3000
|
||||
- NODE_ENV=development
|
||||
- DATABASE_URL=mysql://root@mariadb/my_app_development
|
||||
depends_on:
|
||||
- mariadb
|
||||
|
||||
@@ -12,6 +12,7 @@ services:
|
||||
command: npm start
|
||||
environment:
|
||||
- PORT=3000
|
||||
- NODE_ENV=development
|
||||
- DATABASE_URL=postgres://postgres@postgresql/my_app_development
|
||||
depends_on:
|
||||
- postgresql
|
||||
|
||||
@@ -10,6 +10,7 @@ services:
|
||||
command: npm start
|
||||
environment:
|
||||
- PORT=3000
|
||||
- NODE_ENV=development
|
||||
- DATABASE_URL=mongodb://mongodb:27017/my_app_development
|
||||
depends_on:
|
||||
- mongodb
|
||||
|
||||
Reference in New Issue
Block a user