@@ -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
@@ -96,6 +99,7 @@ services:
9699 - COUNTRY_CONFIG_URL=https://countryconfig.${STACK}.{{hostname}}
97100 - LOGIN_URL=https://login.${STACK}.{{hostname}}
98101 - CLIENT_APP_URL=https://register.${STACK}.{{hostname}}
102+ - SENDER_EMAIL_ADDRESS=${SENDER_EMAIL_ADDRESS}
99103 # This needs to be the internal swarm url
100104 # as containers cannot connect to the web
101105 - GATEWAY_URL=http://gateway:7070
@@ -122,6 +126,7 @@ services:
122126 login :
123127 image : opencrvs/ocrvs-login:${VERSION}
124128 environment :
129+ - QA_ENV=true
125130 - HOST=0.0.0.0
126131 - COUNTRY_CONFIG_URL=https://countryconfig.${STACK}.{{hostname}}
127132 - CONTENT_SECURITY_POLICY_WILDCARD=${CONTENT_SECURITY_POLICY_WILDCARD}
@@ -154,6 +159,7 @@ services:
154159 client :
155160 image : opencrvs/ocrvs-client:${VERSION}
156161 environment :
162+ - QA_ENV=true
157163 - HOST=0.0.0.0
158164 - DECLARED_DECLARATION_SEARCH_QUERY_COUNT=100
159165 - COUNTRY_CONFIG_URL=https://countryconfig.${STACK}.{{hostname}}
@@ -194,10 +200,12 @@ services:
194200 secrets :
195201 - jwt-public-key.{{STACK}}.{{ts}}
196202 environment :
203+ - QA_ENV=true
197204 - HOST=0.0.0.0
198205 - NODE_ENV=production
199206 - LANGUAGES=en,fr
200207 - SENTRY_DSN=${SENTRY_DSN:-}
208+ - DISABLE_RATE_LIMIT=true
201209 - APN_SERVICE_URL=http://apm-server:8200
202210 - CERT_PUBLIC_KEY_PATH=/run/secrets/jwt-public-key.{{STACK}}.{{ts}}
203211 - LOGIN_URL=https://login.${STACK}.{{hostname}}
@@ -250,6 +258,7 @@ services:
250258 secrets :
251259 - jwt-public-key.{{STACK}}.{{ts}}
252260 environment :
261+ - QA_ENV=true
253262 - HOST=0.0.0.0
254263 - NODE_ENV=production
255264 - LANGUAGES=en,fr
@@ -284,6 +293,7 @@ services:
284293 secrets :
285294 - jwt-public-key.{{STACK}}.{{ts}}
286295 environment :
296+ - QA_ENV=true
287297 - HOST=0.0.0.0
288298 - NODE_ENV=production
289299 - SENTRY_DSN=${SENTRY_DSN:-}
@@ -314,6 +324,7 @@ services:
314324 volumes :
315325 - /data/vsexport:/usr/src/app/packages/metrics/src/scripts
316326 environment :
327+ - QA_ENV=true
317328 - HOST=0.0.0.0
318329 - NODE_ENV=production
319330 - SENTRY_DSN=${SENTRY_DSN:-}
@@ -353,6 +364,7 @@ services:
353364 - jwt-public-key.{{STACK}}.{{ts}}
354365 - jwt-private-key.{{STACK}}.{{ts}}
355366 environment :
367+ - QA_ENV=true
356368 - HOST=0.0.0.0
357369 - NODE_ENV=production
358370 - SENTRY_DSN=${SENTRY_DSN:-}
@@ -399,6 +411,7 @@ services:
399411 secrets :
400412 - jwt-public-key.{{STACK}}.{{ts}}
401413 environment :
414+ - QA_ENV=true
402415 - HOST=0.0.0.0
403416 - NODE_ENV=production
404417 - SENTRY_DSN=${SENTRY_DSN:-}
@@ -429,6 +442,7 @@ services:
429442 secrets :
430443 - jwt-public-key.{{STACK}}.{{ts}}
431444 environment :
445+ - QA_ENV=true
432446 - HOST=0.0.0.0
433447 - NODE_ENV=production
434448 - SENTRY_DSN=${SENTRY_DSN:-}
@@ -470,6 +484,7 @@ services:
470484 secrets :
471485 - jwt-public-key.{{STACK}}.{{ts}}
472486 environment :
487+ - QA_ENV=true
473488 - HOST=0.0.0.0
474489 - NODE_ENV=production
475490 - SENTRY_DSN=${SENTRY_DSN:-}
@@ -525,6 +540,7 @@ services:
525540 secrets :
526541 - jwt-public-key.{{STACK}}.{{ts}}
527542 environment :
543+ - QA_ENV=true
528544 - HOST=0.0.0.0
529545 - NODE_ENV=production
530546 - APN_SERVICE_URL=http://apm-server:8200
@@ -548,6 +564,7 @@ services:
548564 scheduler :
549565 image : opencrvs/ocrvs-scheduler:${VERSION}
550566 environment :
567+ - QA_ENV=true
551568 - NODE_ENV=production
552569 - METRICS_URL=http://metrics:1050
553570 deploy :
@@ -566,6 +583,7 @@ services:
566583 migration :
567584 image : opencrvs/ocrvs-migration:${VERSION}
568585 environment :
586+ - QA_ENV=true
569587 - HOST=0.0.0.0
570588 - ELASTICSEARCH_INDEX_NAME=ocrvs--${STACK}
571589 - USER_MGNT_MONGO_URL=mongodb://${STACK}__user-mgnt:${USER_MGNT_MONGODB_PASSWORD}@mongo1/${STACK}__user-mgnt?replicaSet=rs0
@@ -614,6 +632,7 @@ services:
614632 restart_policy :
615633 condition : none
616634 environment :
635+ - QA_ENV=true
617636 - HOST=0.0.0.0
618637 - REPLICAS=1
619638 - DATABASE_PREFIX=${STACK}
@@ -646,6 +665,7 @@ services:
646665 - overlay_net
647666 - dependencies_overlay_net
648667 environment :
668+ - QA_ENV=true
649669 - HOST=0.0.0.0
650670 # Note that only mongo1 is used here on purpose for all environments
651671 # https://discourse.metabase.com/t/solved-add-mongodb-replicaset-database/7404/2
0 commit comments