mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
37 lines
794 B
YAML
37 lines
794 B
YAML
version: '3'
|
|
services:
|
|
limesurvey:
|
|
image: docker.io/martialblog/limesurvey:latest
|
|
restart: always
|
|
environment:
|
|
- DB_TYPE=pgsql
|
|
- DB_PORT=5432
|
|
- DB_HOST=db
|
|
# - DB_PASSWORD=
|
|
- DB_NAME=limesurvey
|
|
- DB_USERNAME=limesurvey
|
|
- ADMIN_USER=admin
|
|
- ADMIN_NAME=Admin
|
|
# - ADMIN_PASSWORD=
|
|
- ADMIN_EMAIL=admin@example.com
|
|
- PUBLIC_URL=foobar.com
|
|
volumes:
|
|
- limesurvey:/var/www/html/upload/surveys
|
|
ports:
|
|
- 8080:8080
|
|
depends_on:
|
|
- db
|
|
db:
|
|
image: docker.io/postgres:10-alpine
|
|
restart: always
|
|
volumes:
|
|
- db-data:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_USER=limesurvey
|
|
- POSTGRES_DB=limesurvey
|
|
# - POSTGRES_PASSWORD=
|
|
|
|
volumes:
|
|
limesurvey:
|
|
db-data:
|