Markus Opolka 59687fb581 Remove symlinks to entrypoints
- didn't work on DockerHub
2018-07-27 13:59:38 +02:00
2018-07-27 13:59:38 +02:00
2018-07-27 12:18:14 +02:00
2018-07-27 13:59:38 +02:00
2018-07-27 12:18:14 +02:00
2018-04-30 13:06:19 +02:00
2018-04-30 13:06:19 +02:00
2018-04-30 13:47:22 +02:00
2018-07-27 12:18:14 +02:00
2018-01-13 16:31:26 +01:00
2018-07-27 12:15:32 +02:00
2018-06-15 19:10:29 +02:00

Build Status

LimeSurvey Docker

Dockerfile to build a LimeSurvey Image for the Docker container platform.

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. See docker-compose.fpm.yml for example

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 example.

Path: /var/www/html/upload/

LimeSurvey Configuration

The entrypoint will create a new config.php if none is provided and run the LimeSurvey command line interface for installation.

To change to LimeSurvey configuration, you can mount a Volume into the Container at:

  • /my-data/config.php:/var/www/html/application/config/config.php

Hint: If this configuration is present before the installation, the LimeSurvey Web Installer will not run automatically.

Environment Variables

Parameter Description
DB_TYPE Database Type to use. mysql or postgresql
DB_HOST Database server hostname
DB_PORT Database server port
DB_NAME Database name
DB_TABLE_PREFIX Database table prefix
DB_USERNAME Database user
DB_PASSWORD Database user's password
ADMIN_USER LimeSurvey Admin User
ADMIN_NAME LimeSurvey Admin Username
ADMIN_EMAIL LimeSurvey Admin Email
ADMIN_PASSWORD LimeSurvey Admin Password
PUBLIC_URL Public URL for public scripts
URL_FORMAT URL Format. path or get

For further details on the settings see: https://manual.limesurvey.org/Optional_settings#Advanced_Path_Settings

References

Description
No description provided
Readme MIT 1.2 MiB
Languages
Shell 59.7%
Dockerfile 39.5%
Makefile 0.8%