From 13a1da8760123174ac8148f4dd889310799e835f Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 23 Jun 2020 11:39:51 +0200 Subject: [PATCH] Don't forget the root password --- compose.yml | 3 +++ helpers.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/compose.yml b/compose.yml index 9dbc303..a406751 100644 --- a/compose.yml +++ b/compose.yml @@ -77,6 +77,9 @@ secrets: db_passwd: name: ${STACK_NAME}_db_passwd_${DB_PASSWD_VERSION} external: true + db_root_passwd: + name: ${STACK_NAME}_db_passwd_${DB_ROOT_PASSWD_VERSION} + external: true internal_token: name: ${STACK_NAME}_internal_token_${INTERNAL_TOKEN_VERSION} external: true diff --git a/helpers.sh b/helpers.sh index 3ccda81..0e529d6 100755 --- a/helpers.sh +++ b/helpers.sh @@ -2,6 +2,7 @@ create-secrets () { pwgen -n 32 1 | docker secret create "${STACK_NAME}_db_passwd_${DB_PASSWD_VERSION}" - + pwgen -n 32 1 | docker secret create "${STACK_NAME}_db_root_passwd_${DB_ROOT_PASSWD_VERSION}" - pwgen -n 105 1 | docker secret create "${STACK_NAME}_internal_token_${INTERNAL_TOKEN_VERSION}" - pwgen -n 43 1 | docker secret create "${STACK_NAME}_jwt_secret_${JWT_SECRET_VERSION}" - pwgen -n 64 1 | docker secret create "${STACK_NAME}_secret_key_${SECRET_KEY_VERSION}" -