-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yml
More file actions
71 lines (61 loc) · 1.54 KB
/
Copy pathcompose.yml
File metadata and controls
71 lines (61 loc) · 1.54 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
services:
limesurvey-app:
image: docker.io/nfrastack/limesurvey:6
container_name: limesurvey-app
labels:
- traefik.enable=true
- traefik.http.routers.limesurvey.rule=Host(`limesurvey.example.com`)
- traefik.http.services.limesurvey.loadbalancer.server.port=80
volumes:
- ./data:/www/html/upload
- ./logs/:/logs
environment:
- TIMEZONE=America/Vancouver
- DB_HOST=limesurvey-db
- DB_NAME=limesurvey
- DB_USER=limesurvey
- DB_PASS=limesurveypass
- ADMIN_USER=admin
- ADMIN_PASS=admin
- DEBUG=FALSE
networks:
- proxy
- services
restart: always
limesurvey-db:
container_name: limesurvey-db
image: docker.io/nfrastack/mariadb:11.8
volumes:
- ./db:/data
environment:
- TIMEZONE=America/Vancouver
- ROOT_PASS=password
- DB_NAME=limesurvey
- DB_USER=limesurvey
- DB_PASS=limesurveypass
networks:
- services
restart: always
limesurvey-db-backup:
container_name: limesurvey-db-backup
image: docker.io/nfrastack/db-backup
volumes:
- ./dbbackup:/backup
environment:
- TIMEZONE=America/Vancouver
- DB01_HOST=limesurvey-db
- DB01_TYPE=mariadb
- DB01_NAME=limesurvey
- DB01_USER=limesurvey
- DB01_PASS=limesurveypass
- DB01_BACKUP_INTERVAL=1440
- DB01_BACKUP_BEGIN=0000
- DB01_CLEANUP_TIME=8640
networks:
- services
restart: always
networks:
proxy:
external: true
services:
external: true