better defaults for dummy domain example.com -> passbolt.local
This commit is contained in:
parent
31ebf7bf82
commit
746c28c84f
|
|
@ -74,7 +74,7 @@ Passbolt docker image provides several environment variables to configure differ
|
|||
|
||||
* SALT: a random string used by cakephp in security hashing methods
|
||||
* CIPHERSEED: a random string used by cakephp to encrypt/decrypt strings
|
||||
* URL: URL of the passbolt installation (defaults to example.com)
|
||||
* URL: URL of the passbolt installation (defaults to passbolt.local)
|
||||
|
||||
### Database variables
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ core_setup() {
|
|||
|
||||
local default_salt='DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
|
||||
local default_seed='76859309657453542496749683645'
|
||||
local default_url='example.com'
|
||||
local default_url='passbolt.local'
|
||||
|
||||
cp $core_config{.default,}
|
||||
sed -i s:$default_salt:${SALT:-$default_salt}:g $core_config
|
||||
|
|
@ -131,7 +131,7 @@ email_setup() {
|
|||
|
||||
gen_ssl_cert() {
|
||||
openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 \
|
||||
-subj "/C=FR/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" \
|
||||
-subj "/C=FR/ST=Denial/L=Springfield/O=Dis/CN=www.passbolt.local" \
|
||||
-keyout $ssl_key -out $ssl_cert
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue