-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
49 lines (44 loc) · 981 Bytes
/
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
version: '3.9'
services:
mariadb:
image: mariadb:11.4
networks:
- database
restart: unless-stopped
ports:
- '127.0.0.1:3306:3306'
environment:
- MYSQL_ROOT_PASSWORD=root
volumes:
- './config/mariadb.cnf:/etc/mysql/conf.d/mariadb.cnf'
- 'database:/var/lib/mysql'
- './seed-database/:/docker-entrypoint-initdb.d/:ro'
redis:
image: redis
networks:
- redis
nginx:
image: nginx:1.21.3-alpine
ports:
- '80:80'
- '443:443'
networks:
- nginx
restart: unless-stopped
volumes:
- 'nginx-conf:/etc/nginx/conf.d/servers:ro'
- './config/panel.conf:/etc/nginx/conf.d/default.conf:ro'
report-runner:
image: specifyconsortium/report-runner
volumes:
- './report-fonts.jar:/var/lib/jetty/webapps/ROOT/WEB-INF/lib/report-fonts.jar:ro'
networks:
- database
volumes:
database:
state:
nginx-conf:
networks:
database:
nginx:
redis: