Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-workflow
Commits
d23a2a73
Commit
d23a2a73
authored
2 years ago
by
Tushar
Browse files
Options
Download
Patches
Plain Diff
Use env vars for user email and pass
parent
462d9770
main
dev
feat/centro
feature/formlistapi
fix/remove-forms
revert-67-contributeByGitpod
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.env
+5
-1
.env
install-central.sh
+4
-2
install-central.sh
with
9 additions
and
3 deletions
+9
-3
.env
+
5
−
1
View file @
d23a2a73
...
...
@@ -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
This diff is collapsed.
Click to expand it.
install-central.sh
+
4
−
2
View file @
d23a2a73
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets