mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-07 00:48:53 +01:00
* Add Dockerfiles for LimeSurvey 5.0 - This changes the default user to www-data in the Apache2 Images - Removed extra download layer - Add LS 5.0 Update Guide - Update base images to PHP 8.0 - Add Variable for showScriptName
37 lines
784 B
YAML
37 lines
784 B
YAML
version: '3'
|
|
services:
|
|
limesurvey:
|
|
image: martialblog/limesurvey:latest
|
|
restart: always
|
|
environment:
|
|
- DB_TYPE=pgsql
|
|
- DB_PORT=5432
|
|
- DB_HOST=db
|
|
- DB_PASSWORD=example
|
|
- DB_NAME=limesurvey
|
|
- DB_USERNAME=limesurvey
|
|
- ADMIN_USER=admin
|
|
- ADMIN_NAME=Admin
|
|
- ADMIN_PASSWORD=example
|
|
- ADMIN_EMAIL=admin@example.com
|
|
- PUBLIC_URL=foobar.com
|
|
volumes:
|
|
- limesurvey:/var/www/html/upload/surveys
|
|
ports:
|
|
- 8080:8080
|
|
depends_on:
|
|
- db
|
|
db:
|
|
image: postgres:10-alpine
|
|
restart: always
|
|
volumes:
|
|
- db-data:/var/lib/postgresql
|
|
environment:
|
|
- POSTGRES_USER=limesurvey
|
|
- POSTGRES_DB=limesurvey
|
|
- POSTGRES_PASSWORD=example
|
|
|
|
volumes:
|
|
limesurvey:
|
|
db-data:
|