mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
Compare commits
32 Commits
3.17.1+190
...
3.21.3+191
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
07c937f620 | ||
|
|
65996ad6b8 | ||
|
|
cd55481064 | ||
|
|
dabd4ecce7 | ||
|
|
3454ed078a | ||
|
|
c2ee09bb8c | ||
|
|
8f1903aa15 | ||
|
|
a829071849 | ||
|
|
a968c01029 | ||
|
|
325416c959 | ||
|
|
44fac58a28 | ||
|
|
1a63aa37a7 | ||
|
|
e4d7e3550f | ||
|
|
26623a1d2c | ||
|
|
5b37d301ad | ||
|
|
9e5b903b28 | ||
|
|
69194ef8a8 | ||
|
|
4a6fd295f3 | ||
|
|
e75090d0fd | ||
|
|
93514b0fb9 | ||
|
|
2d23179e3e | ||
|
|
051a22eb41 | ||
|
|
2fdc20f862 | ||
|
|
b35d566cda | ||
|
|
2ef998b0d7 | ||
|
|
02e2c9dc3a | ||
|
|
68881a29f1 | ||
|
|
10c98a5eb4 | ||
|
|
a665b512e4 | ||
|
|
0e5571811f | ||
|
|
26a95472a7 | ||
|
|
423f4c6133 |
18
README.md
18
README.md
@@ -29,7 +29,9 @@ LimeSurvey requires an external database (MySQL, PostgreSQL) to run. See *docker
|
||||
|
||||
To preserve the uploaded files assign the upload folder into a volume. See *docker-compose.yml* for example.
|
||||
|
||||
Path: */var/www/html/upload/*
|
||||
Path: */var/www/html/upload/surveys*
|
||||
|
||||
**Hint**: The mounted directory must be owned by the webserver user (e.g. www-data)
|
||||
|
||||
# LimeSurvey Configuration
|
||||
|
||||
@@ -62,6 +64,20 @@ To change to LimeSurvey configuration, you can mount a Volume into the Container
|
||||
|
||||
For further details on the settings see: https://manual.limesurvey.org/Optional_settings#Advanced_Path_Settings
|
||||
|
||||
# Running this image with docker-compose
|
||||
|
||||
The easiest way to get a fully featured and functional setup is using a docker-compose file. Several examples are provided in the repository.
|
||||
|
||||
```
|
||||
docker-compose up
|
||||
|
||||
# Frontend
|
||||
http://localhost:8080/
|
||||
|
||||
# Backend
|
||||
http://localhost:8080/index.php/admin
|
||||
```
|
||||
|
||||
# References
|
||||
|
||||
- https://www.limesurvey.org/
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM php:7.2-apache
|
||||
LABEL maintainer="markus@martialblog.de"
|
||||
ARG version='3.17.1+190408'
|
||||
ARG sha256_checksum='a2c63a5a28f7f724f5bd7017959caf76e845c7fce9d8b1177075d030641fdbac'
|
||||
ARG version='3.21.3+191219'
|
||||
ARG sha256_checksum='596c205d8278e5a7a5b6839c399fdd774b571e592411fb30d96b0042a9b95309'
|
||||
|
||||
# Install OS dependencies
|
||||
RUN set -ex; \
|
||||
@@ -10,6 +10,8 @@ RUN set -ex; \
|
||||
apt-get install --no-install-recommends -y \
|
||||
\
|
||||
libldap2-dev \
|
||||
libfreetype6-dev \
|
||||
libjpeg-dev \
|
||||
zlib1g-dev \
|
||||
libc-client-dev \
|
||||
libkrb5-dev \
|
||||
@@ -17,7 +19,7 @@ RUN set -ex; \
|
||||
libpq-dev \
|
||||
netcat \
|
||||
\
|
||||
&& apt-get autoclean; apt-get autoremove; \
|
||||
&& apt-get -y autoclean; apt-get -y autoremove; \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Link LDAP library for PHP ldap extension
|
||||
@@ -26,6 +28,7 @@ RUN set -ex; \
|
||||
|
||||
# Install PHP Plugins and Configure PHP imap plugin
|
||||
RUN set -ex; \
|
||||
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
|
||||
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
||||
docker-php-ext-install -j5 \
|
||||
gd \
|
||||
|
||||
@@ -5,7 +5,7 @@ services:
|
||||
context: fpm-alpine/
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- /tmp/upload/:/var/www/html/upload/
|
||||
- /tmp/upload/surveys:/var/www/html/upload/surveys
|
||||
- lime:/var/www/html
|
||||
links:
|
||||
- lime-db
|
||||
|
||||
@@ -5,7 +5,7 @@ services:
|
||||
context: fpm/
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- /tmp/upload/:/var/www/html/upload/
|
||||
- /tmp/upload/surveys:/var/www/html/upload/surveys
|
||||
- lime:/var/www/html
|
||||
links:
|
||||
- lime-db
|
||||
|
||||
@@ -5,7 +5,7 @@ services:
|
||||
context: apache/
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- /tmp/upload/:/var/www/html/upload/
|
||||
- /tmp/upload/surveys:/var/www/html/upload/surveys
|
||||
links:
|
||||
- lime-db
|
||||
depends_on:
|
||||
|
||||
@@ -5,7 +5,7 @@ services:
|
||||
context: apache/
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- /tmp/upload/:/var/www/html/upload/
|
||||
- /tmp/upload/surveys:/var/www/html/upload/surveys
|
||||
links:
|
||||
- lime-db
|
||||
depends_on:
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
FROM php:7.2-fpm-alpine
|
||||
LABEL maintainer="markus@martialblog.de"
|
||||
ARG version='3.17.1+190408'
|
||||
ARG sha256_checksum='a2c63a5a28f7f724f5bd7017959caf76e845c7fce9d8b1177075d030641fdbac'
|
||||
ARG version='3.21.3+191219'
|
||||
ARG sha256_checksum='596c205d8278e5a7a5b6839c399fdd774b571e592411fb30d96b0042a9b95309'
|
||||
|
||||
# Install OS dependencies
|
||||
RUN set -ex; \
|
||||
apk add --no-cache --virtual .build-deps \
|
||||
freetype-dev \
|
||||
libpng-dev \
|
||||
libjpeg-turbo-dev \
|
||||
openldap-dev \
|
||||
imap-dev \
|
||||
postgresql-dev && \
|
||||
@@ -14,6 +16,7 @@ RUN set -ex; \
|
||||
|
||||
# Install PHP Plugins
|
||||
RUN set -ex; \
|
||||
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr ; \
|
||||
docker-php-ext-configure imap --with-imap-ssl && \
|
||||
docker-php-ext-install \
|
||||
gd \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM php:7.2-fpm
|
||||
LABEL maintainer="markus@martialblog.de"
|
||||
ARG version='3.17.1+190408'
|
||||
ARG sha256_checksum='a2c63a5a28f7f724f5bd7017959caf76e845c7fce9d8b1177075d030641fdbac'
|
||||
ARG version='3.21.3+191219'
|
||||
ARG sha256_checksum='596c205d8278e5a7a5b6839c399fdd774b571e592411fb30d96b0042a9b95309'
|
||||
|
||||
# Install OS dependencies
|
||||
RUN set -ex; \
|
||||
@@ -10,6 +10,8 @@ RUN set -ex; \
|
||||
apt-get install --no-install-recommends -y \
|
||||
\
|
||||
libldap2-dev \
|
||||
libfreetype6-dev \
|
||||
libjpeg-dev \
|
||||
zlib1g-dev \
|
||||
libc-client-dev \
|
||||
libkrb5-dev \
|
||||
@@ -17,7 +19,7 @@ RUN set -ex; \
|
||||
libpq-dev \
|
||||
netcat \
|
||||
\
|
||||
&& apt-get autoclean; apt-get autoremove; \
|
||||
&& apt-get -y autoclean; apt-get -y autoremove; \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Link LDAP library for PHP ldap extension
|
||||
@@ -26,6 +28,7 @@ RUN set -ex; \
|
||||
|
||||
# Install PHP Plugins and Configure PHP imap plugin
|
||||
RUN set -ex; \
|
||||
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
|
||||
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
||||
docker-php-ext-install -j5 \
|
||||
gd \
|
||||
|
||||
Reference in New Issue
Block a user