Commit 9861ea7e authored by Johannes Zellner's avatar Johannes Zellner

We need a temporary upload folder

parent da085558
......@@ -3,13 +3,14 @@
set -eu
# Do not use tmp directly due to tmpreaper removeing built assets
mkdir -p /run/sessions /run/tmp/runtime /run/tmp/assets
mkdir -p /run/sessions /run/tmp/runtime /run/tmp/assets /run/tmp/upload
chown -R www-data.www-data /run
echo "==> Configure database"
sed -e "s/'connectionString' => '.*',/'connectionString' => 'mysql:host=${MYSQL_HOST};port=${MYSQL_PORT};dbname=${MYSQL_DATABASE};',/" \
-e "s/'username' => '.*',/'username' => '${MYSQL_USERNAME}',/" \
-e "s/'password' => '.*',/'password' => '${MYSQL_PASSWORD}',/" \
# -e "s/'debug'=>.*,/'debug'=>1,/" \
/app/code/application/config/config-sample-mysql.php > /run/config.php
if [[ -z "$(ls -A /app/data)" ]]; then
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment