File tree Expand file tree Collapse file tree 4 files changed +13
-47
lines changed
Expand file tree Collapse file tree 4 files changed +13
-47
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,8 @@ ES_JAVA_OPTS="-Xms512m -Xmx512m"
66FUSIONAUTH_APP_MEMORY = 512M
77
88MINIO_USERNAME = workflow-dev
9- MINIO_PASSWORD = workflow-dev
9+ MINIO_PASSWORD = workflow-dev
10+
11+ # central envs
12+ CENTRAL_USER_EMAIL = chakshu@samagragovernance.in
13+ CENTRAL_USER_PASS = StrongPassword@1234
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ services:
7575 networks :
7676 - db_net
7777 - search_net
78+ - default
7879 restart : unless-stopped
7980 ports :
8081 - 9011:9011
@@ -137,15 +138,16 @@ services:
137138 volumes :
138139 - ./mnt/cqube_bucket/minio:/data
139140 environment :
140- MINIO_ROOT_USER : cqube-dev
141- MINIO_ROOT_PASSWORD : cqubeDevPassTibil
141+ MINIO_ROOT_USER : ${MINIO_USERNAME}
142+ MINIO_ROOT_PASSWORD : ${MINIO_PASSWORD}
142143 command : server --console-address ":9001" /data
143144
144145networks :
145146 db_net :
146147 driver : bridge
147148 search_net :
148149 driver : bridge
150+ default :
149151
150152volumes :
151153 db_data :
Original file line number Diff line number Diff line change @@ -11,5 +11,7 @@ docker-compose up -d
1111
1212sleep 30
1313
14- docker compose exec service odk-cmd --email chakshu@samagragovernance.in user-create
15- docker compose exec service odk-cmd --email chakshu@samagragovernance.in user-promote
14+ source ../.env
15+
16+ echo $CENTRAL_USER_PASS | docker compose exec -T service odk-cmd --email $CENTRAL_USER_EMAIL user-create
17+ docker compose exec service odk-cmd --email $CENTRAL_USER_EMAIL user-promote
You can’t perform that action at this time.
0 commit comments