mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
Create docker-compose.example.yml
This commit is contained in:
33
docker-compose.example.yml
Normal file
33
docker-compose.example.yml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
limesurvey:
|
||||||
|
image: martialblog/limesurvey:latest
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
- DB_TYPE=pgsql
|
||||||
|
- DB_PORT=5432
|
||||||
|
- DB_HOST=limesurvey_db_1.limesurvey_default
|
||||||
|
- 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:80
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
db:
|
||||||
|
image: postgres:9.6-alpine
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
- POSTGRES_USER=limesurvey
|
||||||
|
- POSTGRES_DB=limesurvey
|
||||||
|
- POSTGRES_PASSWORD=example
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
limesurvey:
|
||||||
Reference in New Issue
Block a user