mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
Compare commits
7 Commits
3.3.1
...
3.4.4+1803
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
798351b5aa | ||
|
|
94c030a008 | ||
|
|
91d07cc52b | ||
|
|
c557c38898 | ||
|
|
25653a4676 | ||
|
|
9255e9bbb9 | ||
|
|
e39df9a86e |
37
README.md
37
README.md
@@ -3,8 +3,41 @@
|
||||
|
||||
# LimeSurvey Docker
|
||||
|
||||
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
|
||||
# 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.
|
||||
|
||||
# LimeSurvey Configuration
|
||||
|
||||
To change to LimeSurvey configuration simply mount a Volume into the Container at:
|
||||
|
||||
- /my-data/config.php:/var/www/html/application/config/config.php
|
||||
|
||||
**Hint**: If this configuration is present, the LimeSurvey Installer will not run.
|
||||
|
||||
# References
|
||||
|
||||
- https://www.limesurvey.org/
|
||||
- https://github.com/LimeSurvey/LimeSurvey/
|
||||
|
||||
21
apache-example.conf
Normal file
21
apache-example.conf
Normal 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>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
FROM php:7.2-apache
|
||||
LABEL maintainer="markus@martialblog.de"
|
||||
ARG version='3.3.1'
|
||||
ARG version='3.4.4+180305'
|
||||
|
||||
# Install OS dependencies
|
||||
RUN apt-get update && \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
FROM php:7.2-fpm
|
||||
LABEL maintainer="markus@martialblog.de"
|
||||
ARG version='3.3.1'
|
||||
ARG version='3.4.4+180305'
|
||||
|
||||
# Install OS dependencies
|
||||
RUN apt-get update && \
|
||||
|
||||
Reference in New Issue
Block a user