-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-ssl.yml
41 lines (39 loc) · 1 KB
/
docker-compose-ssl.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
version: '3.2'
services:
limesurvey-db:
image: mariadb:10.2.9
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=limedbaccess
- MYSQL_DATABASE=limesurvey
- MYSQL_USER=limesurvey
- MYSQL_PASSWORD=limesurvey
volumes:
- db:/var/lib/mysql
limesurvey-app:
image: giabar/gb-limesurvey
restart: unless-stopped
ports:
- "80:80"
- "443:443"
links:
- limesurvey-db
environment:
- LIMESURVEY_DB_HOST=limesurvey-db
- LIMESURVEY_DB_USER=limesurvey
- LIMESURVEY_DB_PASSWORD=limesurvey
- LIMESURVEY_DB_NAME=limesurvey
- LIMESURVEY_ADMIN_USER=myadmin
- LIMESURVEY_ADMIN_PASSWORD=Passw0rd12
- LIMESURVEY_TABLE_PREFIX=glp_
- NEW_SERVER_NAME=your-fqdn-server
- ENABLE_SSL=on
volumes:
- upload:/var/www/html/upload
- plugins:/var/www/html/plugins
- ./server.crt:/etc/ssl/certs/server.crt
- ./server.key:/etc/ssl/private/server.key
volumes:
db:
plugins:
upload: