Fix secrets & network definition

This commit is contained in:
3wc
2020-06-29 14:29:16 +02:00
parent b9a5aca169
commit d7eba5201a
4 changed files with 17 additions and 5 deletions

5
helpers.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
create-secrets () {
pwgen -n 32 1 | docker secret create "${STACK_NAME}_db_root_passwd_${DB_ROOT_PASSWD_VERSION}" -
}