-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-domserver.yml
51 lines (47 loc) · 1.24 KB
/
docker-compose-domserver.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
version: "3"
services:
domserver:
container_name: domserver
image: itsniklas/domjudge-domserver-nightly:latest
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
- domserver_public_images:/opt/domjudge/domserver/webapp/public/images
- domserver_public_css:/opt/domjudge/domserver/webapp/public/css/custom
- domserver_public_js:/opt/domjudge/domserver/webapp/public/js/custom
- domserver_public_docs:/opt/domjudge/domserver/webapp/public/docs
ports:
- 12345:80
depends_on:
- mariadb
env_file:
- domserver.env
links:
- mariadb:mariadb
restart: on-failure:3
mariadb:
container_name: mariadb
image: mariadb:latest
volumes:
- mariadb:/var/lib/mysql
ports:
- 13306:3306
env_file:
- domserver.env
command: --max-connections=1000 --innodb-log-file-size=2G --max-allowed-packet=1G --net_read_timeout=3600 --net_write_timeout=3600
phpmyadmin:
container_name: myadmin
image: phpmyadmin/phpmyadmin
ports:
- 8888:80
depends_on:
- mariadb
env_file:
- domserver.env
links:
- mariadb:mariadb
volumes:
mariadb:
domserver_public_images:
domserver_public_css:
domserver_public_js:
domserver_public_docs: