Commit f8ff23f1 authored by Marc Egger's avatar Marc Egger
Browse files

Refs #12159 fix selenium tests

parent 1ec837c2
Pipeline #5212 failed with stages
in 2 minutes and 57 seconds
......@@ -107,18 +107,19 @@ fi
### Write config files ###
# QFQ config
echo "
cat <<EOT >> qfq.json
{
'DB_1_USER': '${MYSQL_USER}',
'DB_1_SERVER': 'db',
'DB_1_PASSWORD': '${MYSQL_PASSWORD}',
'DB_1_NAME': '${QFQ_DATABASE}',
'baseUrl': 'http://typo3container:80'
}" > qfq.json
"DB_1_USER": "${MYSQL_USER}",
"DB_1_SERVER": "db",
"DB_1_PASSWORD": "${MYSQL_PASSWORD}",
"DB_1_NAME": "${QFQ_DATABASE}",
"baseUrl": "http://typo3container:80"
}
EOT
docker exec ${T3_CONTAINER} mkdir -p "/var/www/html/fileadmin/protected/qfqProject/conf"
docker cp qfq.json ${T3_CONTAINER}:/var/www/html/fileadmin/protected/qfqProject/conf/qfq.json
rm qfq.json
docker exec ${T3_CONTAINER} chown www-data:www-data /var/www/html/fileadmin/protected/qfqProject/conf/qfq.json
docker exec ${T3_CONTAINER} chown -R www-data:www-data /var/www/html/fileadmin/protected
# Typo3 config
docker exec ${T3_CONTAINER} sed -i -e "s/<MYSQL_USER>/${MYSQL_USER}/g" /var/www/html/typo3conf/LocalConfiguration.php
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment