Don't forget the root password
This commit is contained in:
parent
875a0efa1e
commit
dfab83929d
@ -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
|
||||
|
@ -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}" -
|
||||
|
Loading…
x
Reference in New Issue
Block a user