-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdocker-compose.yml
65 lines (59 loc) · 1.3 KB
/
docker-compose.yml
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
version: '3.7'
services:
mariadb:
image: amd64/mariadb:10.5
container_name: mariadb
hostname: mariadb
expose:
- 3306
environment:
MYSQL_DATABASE: limesurvey
MYSQL_ROOT_PASSWORD: V3rY1ns3cur3P4ssw0rd
MYSQL_USER: limesurvey
MYSQL_PASSWORD: V3rY1ns3cur3P4ssw0rd
volumes:
- limesurvey-db:/var/lib/mysql
memcached:
image: memcached
container_name: memcached
hostname: memcached
expose:
- 11211
limesurvey:
build:
context: ./
image: fjudith/limesurvey:fpm
restart: always
container_name: limesurvey
hostname: limesurvey
environment:
MEMCACHED_HOST: memcached
PUBLIC_URL: http://survey.example.loc
SMTP_HOST: smtp.example.com
SMTP_TLS: "on"
SMTP_PORT: 465
SMTP_AUTH: "off"
MAIL_FROM_DEFAULT: [email protected]
MAIL_DOMAIN: mail.example.com
expose:
- 9000
volumes:
- limesurvey-upload:/var/www/html:rw
depends_on:
- mariadb
- memcached
nginx:
image: fjudith/limesurvey:nginx
container_name: nginx
hostname: nginx
ports:
- 8080
volumes:
- limesurvey-upload:/var/www/html:rw
depends_on:
- memcached
- limesurvey
volumes:
limesurvey-db:
limesurvey-upload:
limesurvey-data: