File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,9 @@ services:
103
103
networks :
104
104
- traefik-public
105
105
- default
106
- environment : *common-environment
106
+ environment :
107
+ NODE_ENV : staging
108
+ << : *common-environment
107
109
deploy :
108
110
<< : *common-deploy
109
111
labels :
@@ -196,6 +198,7 @@ services:
196
198
volumes :
197
199
- mongodb_data:/data/db
198
200
environment :
201
+ NODE_ENV : staging
199
202
MONGO_INITDB_DATABASE : streameth-staging
200
203
MONGO_INITDB_ROOT_USERNAME : root
201
204
MONGO_INITDB_ROOT_PASSWORD_FILE : /run/secrets/db-password
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class App {
39
39
listen ( ) {
40
40
this . app . listen ( this . port , ( ) => {
41
41
logger . info ( `=================================` ) ;
42
- logger . info ( `======= ENV: ${ this . env } =======` ) ;
42
+ logger . info ( `======= ENV: ${ this . env } ======== ` ) ;
43
43
logger . info ( `🚀 App listening on the port ${ this . port } ` ) ;
44
44
logger . info ( `=================================` ) ;
45
45
} ) ;
You can’t perform that action at this time.
0 commit comments