-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (32 loc) · 791 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (32 loc) · 791 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
services:
limesurvey:
build:
context: 6.0/apache/
dockerfile: Dockerfile
volumes:
# TODO Update storage location as desired
- ./surveys:/var/www/html/upload/surveys
networks:
- limesurvey-db
ports:
- "8080:8080"
environment:
- "DB_HOST=lime-db"
# TODO set passwords
# - "DB_PASSWORD="
# - "ADMIN_PASSWORD="
# If you require an empty table prefix, use a space as the DB_TABLE_PREFIX
# - "DB_TABLE_PREFIX= "
lime-db:
image: mariadb:11.4
networks:
- limesurvey-db
environment:
- "MYSQL_USER=limesurvey"
- "MYSQL_DATABASE=limesurvey"
# TODO set passwords
# - "MYSQL_PASSWORD="
# - "MYSQL_ROOT_PASSWORD="
networks:
limesurvey-db:
driver: bridge