7 lines
223 B
Bash
Executable File
7 lines
223 B
Bash
Executable File
#!/bin/bash
|
|
|
|
create-secrets () {
|
|
pwgen -n 32 1 | docker secret create "${STACK_NAME}_db_root_passwd_${DB_ROOT_PASSWD_VERSION}" -
|
|
pwgen -n 32 1 | docker secret create "${STACK_NAME}_db_passwd_${DB_PASSWD_VERSION}" -
|
|
}
|