Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Oct 14, 2024
1 parent ed486dc commit d2246b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runner/main/modules/docker-php/docker-php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function docker-php_setup() {
-v "${SHAREDDIR}":/shared \
"${DOCKER_PHP}"

# Update the document root.
docker exec "${WEBSERVER}" bash -c "sed -ri -e 's@/var/www/html@${APACHE_DOCUMENT_ROOT}@g' /etc/apache2/sites-available/*.conf"
docker exec "${WEBSERVER}" bash -c "sed -ri -e 's@/var/www/@${APACHE_DOCUMENT_ROOT}@g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf"
docker exec "${WEBSERVER}" apachectl graceful
Expand Down

0 comments on commit d2246b3

Please sign in to comment.