Skip to content

Commit 1b5908e

Browse files
authored
fix: add node_env to events production
logger uses pino-pretty otherwise which isn't in prod dependencies
1 parent fcfca58 commit 1b5908e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

infrastructure/docker-compose.app.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ services:
294294
image: ghcr.io/opencrvs/ocrvs-events:${VERSION}
295295
restart: unless-stopped
296296
environment:
297+
- NODE_ENV=production
297298
- EVENTS_MONGO_URL=mongodb://${STACK}__events:${EVENTS_MONGODB_PASSWORD}@mongo1/${STACK}__events?replicaSet=rs0
298299
- USER_MGNT_MONGO_URL=mongodb://${STACK}__user-mgnt:${USER_MGNT_MONGODB_PASSWORD}@mongo1/${STACK}__user-mgnt?replicaSet=rs0
299300
- ES_URL=http://{{STACK}}-search-user:${ROTATING_SEARCH_ELASTIC_PASSWORD}@elasticsearch:9200

0 commit comments

Comments
 (0)