Skip to content

Commit

Permalink
add RUNDECK_STORAGE_PASSWORD secrets block
Browse files Browse the repository at this point in the history
  • Loading branch information
jjethwa authored Jan 9, 2023
1 parent e3b6c0f commit 0a07bee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/opt/run
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ if [ ! -f "${initfile}" ]; then
if [ -f /run/secrets/RUNDECK_ADMIN_PASSWORD ]; then
RUNDECK_ADMIN_PASSWORD=$(< /run/secrets/RUNDECK_ADMIN_PASSWORD)
fi
if [ -f /run/secrets/RUNDECK_STORAGE_PASSWORD ]; then
RUNDECK_STORAGE_PASSWORD=$(< /run/secrets/RUNDECK_STORAGE_PASSWORD)
fi

DATABASE_URL=${DATABASE_URL:-"jdbc:mysql://localhost/rundeckdb?autoReconnect=true"}
DATABASE_DRIVER=${DATABASE_DRIVER:-"org.mariadb.jdbc.Driver"}
Expand Down

0 comments on commit 0a07bee

Please sign in to comment.