Don't forget the root password
This commit is contained in:
parent
2f234ff5d4
commit
13a1da8760
|
@ -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…
Reference in New Issue