diff --git a/README.md b/README.md index 6debcf9..27d88a1 100644 --- a/README.md +++ b/README.md @@ -56,9 +56,9 @@ Passbolt docker image provides several environment variables to configure differ ### Core file variables -* default_salt -* default_seed -* default_url: url of the passbolt installation +* salt +* cipherseed +* url: url of the passbolt installation ### Database variables diff --git a/bin/docker-entrypoint.sh b/bin/docker-entrypoint.sh index 0b68526..0add013 100755 --- a/bin/docker-entrypoint.sh +++ b/bin/docker-entrypoint.sh @@ -100,7 +100,7 @@ gen_ssl_cert() { install() { local database=${db_host:-$(grep -m1 -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' $db_config)} echo $database - tables=$(mysql -u passbolt -h $database -p -BN -e "SHOW TABLES FROM passbolt" -p${db_pass:-P4ssb0lt} |wc -l) + tables=$(mysql -u $db_user -h $database -p -BN -e "SHOW TABLES FROM passbolt" -p${db_pass:-P4ssb0lt} |wc -l) if [ $tables -eq 0 ]; then su -c "/var/www/passbolt/app/Console/cake install --send-anonymous-statistics true --no-admin" -ls /bin/bash nginx