-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.template
45 lines (38 loc) · 1.11 KB
/
docker-compose.yml.template
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
version: '3'
networks:
bibbox-default-network:
external: true
services:
§§INSTANCE-limesurvey:
image: bibbox/limesurvey:5.0.10
restart: on-failure #usually needs 1 restart until db is fully initialized
container_name: §§INSTANCE-limesurvey
ports:
- 8082:80
proxy:
TYPE: PRIMARY
URLPREFIX: §§INSTANCE
TEMPLATE: default
DISPLAYNAME: 'limesurvey'
environment:
LIMESURVEY_DB_PASSWORD: §§MYSQL_ROOT_PASSWORD
LIMESURVEY_DB_HOST: §§INSTANCE-mysql:3306
LIMESURVEY_ADMIN_USER: §§ADMIN_USER
LIMESURVEY_ADMIN_PASSWORD: §§ADMIN_PASSWORD
LIMESURVEY_ADMIN_NAME: admin
LIMESURVEY_ADMIN_EMAIL: §§ADMIN_EMAIL
volumes:
- ./plugins:/var/www/html/plugins
- ./upload:/var/www/html/upload
- ./config:/var/www/html/application/config
networks:
- bibbox-default-network
mysql:
image: mariadb
container_name: §§INSTANCE-mysql
environment:
MYSQL_ROOT_PASSWORD: §§MYSQL_ROOT_PASSWORD
volumes:
- ./database/mysql:/var/lib/mysql
networks:
- bibbox-default-network