Update README and provide example Apache configuration

This commit is contained in:
Markus Opolka
2018-02-23 16:45:53 +01:00
parent e39df9a86e
commit 9255e9bbb9
2 changed files with 38 additions and 1 deletions

View File

@@ -5,6 +5,22 @@
Dockerfile to build a [LimeSurvey](https://limesurvey.org) image for the Docker container platform. 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. 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.

21
apache-example.conf Normal file
View File

@@ -0,0 +1,21 @@
<VirtualHost *:80>
ServerAdmin foo@bar.com
DocumentRoot /var/www/html
Alias /lime "/var/www/html"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>