Skip to content

Commit 5d3a473

Browse files
authored
Merge pull request #70 from opencrvs/fix/add-e2e-minio-bucket
fix: add e2e_minio_bucket variable for countryconfig
2 parents b446cae + 2e8f987 commit 5d3a473

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

infrastructure/docker-compose.app.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ services:
140140
- MOSIP_API_USERINFO_URL=https://mosip-api.${STACK}.{{hostname}}/esignet/get-oidp-user-info
141141
- OPENID_PROVIDER_CLAIMS=name,family_name,given_name,middle_name,birthdate,address
142142
- OPENID_PROVIDER_CLIENT_ID=mock-client_id
143+
# Country config passes minio details to client. 'ocrvs' is hardcoded. To get files working in E2E, countryconfig needs to be configured with the same bucket name as gateway, migration and documents.
144+
# E2E prefix intention is to communicate, that this is only for E2E testing and not for production.
145+
- E2E_MINIO_BUCKET=${STACK}--ocrvs
143146
networks:
144147
app_net:
145148
dependencies_monitoring_net:
@@ -383,7 +386,7 @@ services:
383386

384387
setup-elasticsearch-users:
385388
image: ubuntu:bionic
386-
entrypoint: [ 'bash', '/usr/app/setup.sh' ]
389+
entrypoint: ['bash', '/usr/app/setup.sh']
387390
restart: on-failure
388391
environment:
389392
- ELASTICSEARCH_HOST=elasticsearch

0 commit comments

Comments
 (0)