1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 09:41:20 +00:00
dockerfiles/limesurvey/docker-compose.yml

30 lines
644 B
YAML
Raw Normal View History

2022-07-11 08:49:44 +00:00
version: "3.8"
services:
limesurvey:
image: martialblog/limesurvey
ports:
- "8080:8080"
volumes:
- ./data/surveys:/var/www/html/upload/surveys
environment:
- "DB_TYPE=pgsql"
- "DB_PORT=5432"
- "DB_HOST=postgres"
- "DB_PASSWORD=limesurvey"
- "ADMIN_PASSWORD=admin"
depends_on:
- postgres
restart: unless-stopped
postgres:
image: postgres:14-alpine
volumes:
- ./data/postgres:/var/lib/postgresql/data
environment:
- "POSTGRES_DB=limesurvey"
- "POSTGRES_USER=limesurvey"
- "POSTGRES_PASSWORD=limesurvey"
restart: unless-stopped