@@ -3,6 +3,7 @@ services:
33 hearth :
44 image : opencrvs/hearth:1.1.0
55 environment :
6+ - QA_ENV=true
67 - HOST=0.0.0.0
78 - mongodb__url=mongodb://${STACK}__hearth:${HEARTH_MONGODB_PASSWORD}@mongo1/${STACK}__hearth-dev?replicaSet=rs0
89 - logger__level=warn
@@ -31,6 +32,7 @@ services:
3132 secrets :
3233 - jwt-public-key.{{STACK}}.{{ts}}
3334 environment :
35+ - QA_ENV=true
3436 - HOST=0.0.0.0
3537 - NODE_ENV=production
3638 - LANGUAGES=en,fr
@@ -84,6 +86,7 @@ services:
8486 - ' traefik.http.routers.${STACK}__block-dashboard-queries.middlewares=${STACK}__block-internal-routes'
8587 replicas : 1
8688 environment :
89+ - QA_ENV=true
8790 - HOST=0.0.0.0
8891 - NODE_ENV=production
8992 - FHIR_URL=http://hearth:3447/fhir
@@ -122,6 +125,7 @@ services:
122125 login :
123126 image : opencrvs/ocrvs-login:${VERSION}
124127 environment :
128+ - QA_ENV=true
125129 - HOST=0.0.0.0
126130 - COUNTRY_CONFIG_URL=https://countryconfig.${STACK}.{{hostname}}
127131 - CONTENT_SECURITY_POLICY_WILDCARD=${CONTENT_SECURITY_POLICY_WILDCARD}
@@ -154,6 +158,7 @@ services:
154158 client :
155159 image : opencrvs/ocrvs-client:${VERSION}
156160 environment :
161+ - QA_ENV=true
157162 - HOST=0.0.0.0
158163 - DECLARED_DECLARATION_SEARCH_QUERY_COUNT=100
159164 - COUNTRY_CONFIG_URL=https://countryconfig.${STACK}.{{hostname}}
@@ -194,6 +199,7 @@ services:
194199 secrets :
195200 - jwt-public-key.{{STACK}}.{{ts}}
196201 environment :
202+ - QA_ENV=true
197203 - HOST=0.0.0.0
198204 - NODE_ENV=production
199205 - LANGUAGES=en,fr
@@ -250,6 +256,7 @@ services:
250256 secrets :
251257 - jwt-public-key.{{STACK}}.{{ts}}
252258 environment :
259+ - QA_ENV=true
253260 - HOST=0.0.0.0
254261 - NODE_ENV=production
255262 - LANGUAGES=en,fr
@@ -284,6 +291,7 @@ services:
284291 secrets :
285292 - jwt-public-key.{{STACK}}.{{ts}}
286293 environment :
294+ - QA_ENV=true
287295 - HOST=0.0.0.0
288296 - NODE_ENV=production
289297 - SENTRY_DSN=${SENTRY_DSN:-}
@@ -314,6 +322,7 @@ services:
314322 volumes :
315323 - /data/vsexport:/usr/src/app/packages/metrics/src/scripts
316324 environment :
325+ - QA_ENV=true
317326 - HOST=0.0.0.0
318327 - NODE_ENV=production
319328 - SENTRY_DSN=${SENTRY_DSN:-}
@@ -353,6 +362,7 @@ services:
353362 - jwt-public-key.{{STACK}}.{{ts}}
354363 - jwt-private-key.{{STACK}}.{{ts}}
355364 environment :
365+ - QA_ENV=true
356366 - HOST=0.0.0.0
357367 - NODE_ENV=production
358368 - SENTRY_DSN=${SENTRY_DSN:-}
@@ -399,6 +409,7 @@ services:
399409 secrets :
400410 - jwt-public-key.{{STACK}}.{{ts}}
401411 environment :
412+ - QA_ENV=true
402413 - HOST=0.0.0.0
403414 - NODE_ENV=production
404415 - SENTRY_DSN=${SENTRY_DSN:-}
@@ -429,6 +440,7 @@ services:
429440 secrets :
430441 - jwt-public-key.{{STACK}}.{{ts}}
431442 environment :
443+ - QA_ENV=true
432444 - HOST=0.0.0.0
433445 - NODE_ENV=production
434446 - SENTRY_DSN=${SENTRY_DSN:-}
@@ -470,6 +482,7 @@ services:
470482 secrets :
471483 - jwt-public-key.{{STACK}}.{{ts}}
472484 environment :
485+ - QA_ENV=true
473486 - HOST=0.0.0.0
474487 - NODE_ENV=production
475488 - SENTRY_DSN=${SENTRY_DSN:-}
@@ -525,6 +538,7 @@ services:
525538 secrets :
526539 - jwt-public-key.{{STACK}}.{{ts}}
527540 environment :
541+ - QA_ENV=true
528542 - HOST=0.0.0.0
529543 - NODE_ENV=production
530544 - APN_SERVICE_URL=http://apm-server:8200
@@ -548,6 +562,7 @@ services:
548562 scheduler :
549563 image : opencrvs/ocrvs-scheduler:${VERSION}
550564 environment :
565+ - QA_ENV=true
551566 - NODE_ENV=production
552567 - METRICS_URL=http://metrics:1050
553568 deploy :
@@ -566,6 +581,7 @@ services:
566581 migration :
567582 image : opencrvs/ocrvs-migration:${VERSION}
568583 environment :
584+ - QA_ENV=true
569585 - HOST=0.0.0.0
570586 - ELASTICSEARCH_INDEX_NAME=ocrvs--${STACK}
571587 - USER_MGNT_MONGO_URL=mongodb://${STACK}__user-mgnt:${USER_MGNT_MONGODB_PASSWORD}@mongo1/${STACK}__user-mgnt?replicaSet=rs0
@@ -614,6 +630,7 @@ services:
614630 restart_policy :
615631 condition : none
616632 environment :
633+ - QA_ENV=true
617634 - HOST=0.0.0.0
618635 - REPLICAS=1
619636 - DATABASE_PREFIX=${STACK}
@@ -646,6 +663,7 @@ services:
646663 - overlay_net
647664 - dependencies_overlay_net
648665 environment :
666+ - QA_ENV=true
649667 - HOST=0.0.0.0
650668 # Note that only mongo1 is used here on purpose for all environments
651669 # https://discourse.metabase.com/t/solved-add-mongodb-replicaset-database/7404/2
0 commit comments