mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
Compare commits
19 Commits
3.16.1+190
...
3.17.12+19
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a6fd295f3 | ||
|
|
e75090d0fd | ||
|
|
93514b0fb9 | ||
|
|
2d23179e3e | ||
|
|
051a22eb41 | ||
|
|
2fdc20f862 | ||
|
|
b35d566cda | ||
|
|
2ef998b0d7 | ||
|
|
02e2c9dc3a | ||
|
|
68881a29f1 | ||
|
|
10c98a5eb4 | ||
|
|
a665b512e4 | ||
|
|
0e5571811f | ||
|
|
26a95472a7 | ||
|
|
423f4c6133 | ||
|
|
80bc3f4319 | ||
|
|
c30e0878e2 | ||
|
|
b44b4c2371 | ||
|
|
c655c4cf53 |
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.16.1+190314'
|
||||
ARG sha256_checksum='cfed9f8f8e4aa7fe70ae6c3e946f6f33d8aa3aab38f7ac994054af595b11f0a3'
|
||||
ARG version='3.17.12+190823'
|
||||
ARG sha256_checksum='29103ce49a1651596e7015f2603a8838b1262dd9637623a89d62d2b200ca5f8b'
|
||||
|
||||
# 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 \
|
||||
@@ -57,7 +60,7 @@ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
||||
ADD "https://github.com/LimeSurvey/LimeSurvey/archive/${version}.tar.gz" /tmp
|
||||
|
||||
RUN set -ex; \
|
||||
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
|
||||
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
|
||||
\
|
||||
tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ && \
|
||||
rm -f "/tmp/${version}.tar.gz" && \
|
||||
|
||||
@@ -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.16.1+190314'
|
||||
ARG sha256_checksum='cfed9f8f8e4aa7fe70ae6c3e946f6f33d8aa3aab38f7ac994054af595b11f0a3'
|
||||
ARG version='3.17.12+190823'
|
||||
ARG sha256_checksum='29103ce49a1651596e7015f2603a8838b1262dd9637623a89d62d2b200ca5f8b'
|
||||
|
||||
# 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 \
|
||||
@@ -30,7 +33,7 @@ RUN set -ex; \
|
||||
ADD "https://github.com/LimeSurvey/LimeSurvey/archive/${version}.tar.gz" /tmp
|
||||
|
||||
RUN set -ex; \
|
||||
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
|
||||
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
|
||||
\
|
||||
tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ && \
|
||||
\
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM php:7.2-fpm
|
||||
LABEL maintainer="markus@martialblog.de"
|
||||
ARG version='3.16.1+190314'
|
||||
ARG sha256_checksum='cfed9f8f8e4aa7fe70ae6c3e946f6f33d8aa3aab38f7ac994054af595b11f0a3'
|
||||
ARG version='3.17.12+190823'
|
||||
ARG sha256_checksum='29103ce49a1651596e7015f2603a8838b1262dd9637623a89d62d2b200ca5f8b'
|
||||
|
||||
# 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 \
|
||||
@@ -44,7 +47,7 @@ ENV LIMESURVEY_VERSION=$version
|
||||
ADD "https://github.com/LimeSurvey/LimeSurvey/archive/${version}.tar.gz" /tmp
|
||||
|
||||
RUN set -ex; \
|
||||
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
|
||||
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
|
||||
\
|
||||
tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ && \
|
||||
rm -f "/tmp/${version}.tar.gz" && \
|
||||
|
||||
Reference in New Issue
Block a user