-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
38 lines (37 loc) · 892 Bytes
/
docker-compose.example.yml
File metadata and controls
38 lines (37 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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:
# All subdirectories of the upload may contain
# data intended to be persistent (e.g. themes)
- limesurvey:/var/www/html/upload
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: