diff --git a/README.md b/README.md index f060377..9bcb101 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,22 @@ Dockerfile to build a [LimeSurvey](https://limesurvey.org) image for the Docker container platform. -# Persistence +# Uploads Persistence To preserve the uploaded files assign the upload folder into a volume. See *docker-compose.yml* for details. + +# LimeSurvey Configuration + +To change to LimeSuvey configuration simply mount a Volume into the Container at: + + - /var/www/html/application/config/config.php + +**Hint**: If this configuration is present, the LimeSuvery Installer will not run. + +# Apache Configuration + +To change to Apache Webserver configuration mount a Volume into the Container at: + + - /etc/apache2/sites-available/000-default.conf + +See the example configuration provided. diff --git a/apache-example.conf b/apache-example.conf new file mode 100644 index 0000000..4105ae8 --- /dev/null +++ b/apache-example.conf @@ -0,0 +1,21 @@ + + ServerAdmin foo@bar.com + DocumentRoot /var/www/html + Alias /lime "/var/www/html" + + + Options FollowSymLinks + AllowOverride None + + + + Options Indexes FollowSymLinks MultiViews + AllowOverride All + Order allow,deny + allow from all + + + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + +