forked from coop-cloud/mediawiki
Add .envrc.sample, remove helpers.sh
This commit is contained in:
parent
d95ecfed86
commit
993887bdda
|
@ -0,0 +1,12 @@
|
|||
export DOMAIN=wiki.example.com
|
||||
export STACK_NAME=example_wiki
|
||||
|
||||
export LETS_ENCRYPT_ENV=production
|
||||
|
||||
export MEDIAWIKI_SITENAME="Example Wikia"
|
||||
export MEDIAWIKI_SITENAMESPACE="Example_Wiki"
|
||||
export MEDIAWIKI_EMAIL_CONTACT="info@wiki.example.com"
|
||||
export MEDIAWIKI_EMAIL_FROM="wiki@wiki.example.com"
|
||||
|
||||
export DB_ROOT_PASSWD_VERSION=v1
|
||||
export DB_PASSWD_VERSION=v1
|
|
@ -1,6 +0,0 @@
|
|||
#!/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}" -
|
||||
}
|
Loading…
Reference in New Issue