From 746c28c84f25eca2f1bb7cb6b40f2cd384f5c570 Mon Sep 17 00:00:00 2001 From: Diego Lendoiro Date: Mon, 31 Jul 2017 11:51:39 +0100 Subject: [PATCH] better defaults for dummy domain example.com -> passbolt.local --- README.md | 2 +- bin/docker-entrypoint.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eddc4d2..96507f7 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/bin/docker-entrypoint.sh b/bin/docker-entrypoint.sh index 3f817a9..540d120 100755 --- a/bin/docker-entrypoint.sh +++ b/bin/docker-entrypoint.sh @@ -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 }