Compare commits

...

32 Commits

Author SHA1 Message Date
Markus Opolka
07c937f620 Upgrading to Version 3.21.3+191219 2020-01-09 08:00:36 +01:00
Markus Opolka
65996ad6b8 Upgrading to Version 3.21.2+191216 2019-12-20 08:01:23 +01:00
Markus Opolka
cd55481064 Upgrading to Version 3.21.1+191210 2019-12-17 07:19:43 +01:00
Markus Opolka
dabd4ecce7 Upgrading to Version 3.21.0+191203 2019-12-09 12:28:07 +01:00
Markus Opolka
3454ed078a Upgrading to Version 3.20.2+191119 2019-12-02 22:13:52 +01:00
Markus Opolka
c2ee09bb8c Upgrading to Version 3.20.1+191114 2019-11-19 17:40:49 +01:00
Markus Opolka
8f1903aa15 Upgrading to Version 3.20.0+191112 2019-11-15 11:04:05 +01:00
Markus Opolka
a829071849 Upgrading to Version 3.19.3+191023 2019-11-11 17:46:46 +01:00
Markus Opolka
a968c01029 Fix Checksum for tarball 2019-10-24 07:30:41 +02:00
Markus Opolka
325416c959 Upgrading to Version 3.19.2+191017 2019-10-23 19:06:11 +02:00
Markus Opolka
44fac58a28 Upgrading to Version 3.19.1+191009 2019-10-17 18:42:08 +02:00
Markus Opolka
1a63aa37a7 Upgrading to Version 3.19.0+191008 2019-10-13 13:26:13 +02:00
Markus Opolka
e4d7e3550f Upgrading to Version 3.17.17+190918 2019-09-23 18:24:27 +02:00
Markus Opolka
26623a1d2c Upgrading to Version 3.17.16+190906 2019-09-19 06:35:28 +02:00
Markus Opolka
5b37d301ad Upgrading to Version 3.17.15+190903 2019-09-07 08:00:31 +02:00
Markus Opolka
9e5b903b28 Upgrading to Version 3.17.14+190902 2019-09-03 13:43:29 +02:00
Markus Opolka
69194ef8a8 Upgrading to Version 3.17.13+190824 2019-09-03 08:19:57 +02:00
Markus Opolka
4a6fd295f3 Upgrading to Version 3.17.12+190823 2019-08-23 19:43:30 +02:00
Markus Opolka
e75090d0fd Upgrading to Version 3.17.10+190821 2019-08-23 19:40:21 +02:00
Markus Opolka
93514b0fb9 Upgrading to Version 3.17.9+190731 2019-08-22 09:40:20 +02:00
Markus Opolka
2d23179e3e Merge pull request #21 from martialblog/fix-image-lib
Fix gd library configuration and update example docker-compose files
2019-08-15 14:04:34 +02:00
Markus Opolka
051a22eb41 Change example volume path in docker-compose files
- The previous setting did override the default Limesurvey directories
  - Also added a hint to the README
2019-08-15 13:57:18 +02:00
Markus Opolka
2fdc20f862 Add gd config and dependencies 2019-08-14 18:33:44 +02:00
Markus Opolka
b35d566cda Upgrading to Version 3.17.8+190722 2019-07-31 15:21:13 +02:00
Markus Opolka
2ef998b0d7 Upgrading to Version 3.17.7+190627 2019-07-22 21:30:14 +02:00
Markus Opolka
02e2c9dc3a Update README 2019-07-18 11:08:43 +02:00
Markus Opolka
68881a29f1 More stable apt autoclean 2019-07-15 14:10:30 +02:00
Markus Opolka
10c98a5eb4 Upgrading to Version 3.17.6+190624 2019-06-28 09:44:23 +02:00
Markus Opolka
a665b512e4 Upgrading to Version 3.17.5+190604 2019-06-26 15:45:38 +02:00
Markus Opolka
0e5571811f Upgrading to Version 3.17.4+190529 2019-06-04 18:37:02 +02:00
Markus Opolka
26a95472a7 Upgrading to Version 3.17.3+190429 2019-05-31 09:03:27 +02:00
Markus Opolka
423f4c6133 Add makefile 2019-05-09 10:30:38 +02:00
9 changed files with 46 additions and 13 deletions

View File

@@ -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/

View File

@@ -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 \

View File

@@ -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

View File

@@ -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

View File

@@ -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:

View File

@@ -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:

View File

@@ -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 \

View File

@@ -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 \

8
makefile Normal file
View File

@@ -0,0 +1,8 @@
.PHONY: apache fpm fpm-alpine
apache:
docker build --pull -t limesurvey:apache apache
fpm-alpine:
docker build --pull -t limesurvey:fpm-alpine fpm-alpine
fpm:
docker build --pull -t limesurvey:fpm fpm