Commit d23a2a73 authored by Tushar's avatar Tushar
Browse files

Use env vars for user email and pass

Showing with 9 additions and 3 deletions
+9 -3
......@@ -6,4 +6,8 @@ ES_JAVA_OPTS="-Xms512m -Xmx512m"
FUSIONAUTH_APP_MEMORY=512M
MINIO_USERNAME=workflow-dev
MINIO_PASSWORD=workflow-dev
\ No newline at end of file
MINIO_PASSWORD=workflow-dev
# central envs
CENTRAL_USER_EMAIL=chakshu@samagragovernance.in
CENTRAL_USER_PASS=StrongPassword@1234
\ No newline at end of file
......@@ -11,5 +11,7 @@ docker-compose up -d
sleep 30
echo "StrongPassword@1234" | docker compose exec -T service odk-cmd --email chakshu@samagragovernance.in user-create
docker compose exec service odk-cmd --email chakshu@samagragovernance.in user-promote
\ No newline at end of file
source ../.env
echo $CENTRAL_USER_PASS | docker compose exec -T service odk-cmd --email $CENTRAL_USER_EMAIL user-create
docker compose exec service odk-cmd --email $CENTRAL_USER_EMAIL user-promote
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment