From 91d07cc52bf523b889938759425374e5876a222d Mon Sep 17 00:00:00 2001 From: Markus Opolka Date: Fri, 9 Mar 2018 13:33:34 +0100 Subject: [PATCH] Update README --- README.md | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9bcb101..bbdc4da 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,27 @@ Dockerfile to build a [LimeSurvey](https://limesurvey.org) image for the Docker container platform. -# Uploads Persistence +# Using the apache image + +The apache image comes with an Apache Webserver and PHP installed. + +## 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. + +# Using the fpm image + +To use the fpm image you need an additional web server that can proxy http-request to the fpm-port of the container. + +# Using an external database + +LimeSurvey requires an external database (MySQL, PostgreSQL) to run. See *docker-compose.yml* for example. + +# Persistent data To preserve the uploaded files assign the upload folder into a volume. See *docker-compose.yml* for details. @@ -16,11 +36,3 @@ 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.