Removed mysql port as this causes an error now
This commit is contained in:
parent
a8dc7cb6bf
commit
f7db98f93d
4
start.sh
4
start.sh
|
@ -9,7 +9,7 @@ if ! [ -f /app/data/.installed ]; then
|
||||||
rsync -a /app/code/data-orig/ /app/data/
|
rsync -a /app/code/data-orig/ /app/data/
|
||||||
php cli/do-install.php \
|
php cli/do-install.php \
|
||||||
--environment production --default_user admin \
|
--environment production --default_user admin \
|
||||||
--db-type mysql --db-host "${MYSQL_HOST}:${MYSQL_PORT}" \
|
--db-type mysql --db-host "${MYSQL_HOST}" \
|
||||||
--db-user "${MYSQL_USERNAME}" --db-password "${MYSQL_PASSWORD}" \
|
--db-user "${MYSQL_USERNAME}" --db-password "${MYSQL_PASSWORD}" \
|
||||||
--db-base "${MYSQL_DATABASE}" --db-prefix "" \
|
--db-base "${MYSQL_DATABASE}" --db-prefix "" \
|
||||||
--disable_update
|
--disable_update
|
||||||
|
@ -29,7 +29,7 @@ done
|
||||||
|
|
||||||
echo "Updating config file"
|
echo "Updating config file"
|
||||||
php cli/reconfigure.php --default_user admin --base_url "https://${APP_DOMAIN}/p" \
|
php cli/reconfigure.php --default_user admin --base_url "https://${APP_DOMAIN}/p" \
|
||||||
--db-type mysql --db-host "${MYSQL_HOST}:${MYSQL_PORT}" \
|
--db-type mysql --db-host "${MYSQL_HOST}" \
|
||||||
--db-user "${MYSQL_USERNAME}" --db-password "${MYSQL_PASSWORD}" \
|
--db-user "${MYSQL_USERNAME}" --db-password "${MYSQL_PASSWORD}" \
|
||||||
--db-base "${MYSQL_DATABASE}" --db-prefix "" \
|
--db-base "${MYSQL_DATABASE}" --db-prefix "" \
|
||||||
--disable_update
|
--disable_update
|
||||||
|
|
Loading…
Reference in New Issue