mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-07 08:59:23 +01:00
Compare commits
8 Commits
3.2.1+1802
...
3.4.3+1802
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c557c38898 | ||
|
|
25653a4676 | ||
|
|
9255e9bbb9 | ||
|
|
e39df9a86e | ||
|
|
e36a3274ab | ||
|
|
60a31f3c60 | ||
|
|
ddabf8c6fa | ||
|
|
3ffa60c7d8 |
20
README.md
20
README.md
@@ -4,3 +4,23 @@
|
||||
# LimeSurvey Docker
|
||||
|
||||
Dockerfile to build a [LimeSurvey](https://limesurvey.org) image for the Docker container platform.
|
||||
|
||||
# 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.
|
||||
|
||||
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.2.1+180207'
|
||||
ARG version='3.4.3+180227'
|
||||
|
||||
# Install OS dependencies
|
||||
RUN apt-get update && \
|
||||
|
||||
@@ -4,6 +4,8 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apache/Dockerfile
|
||||
volumes:
|
||||
- /tmp/upload/:/var/www/html/upload/
|
||||
links:
|
||||
- lime-db
|
||||
depends_on:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
FROM php:7.2-fpm
|
||||
LABEL maintainer="markus@martialblog.de"
|
||||
ARG version='3.2.1+180207'
|
||||
ARG version='3.4.3+180227'
|
||||
|
||||
# Install OS dependencies
|
||||
RUN apt-get update && \
|
||||
|
||||
Reference in New Issue
Block a user