File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ version : " 3.8"
2+
3+ services :
4+ mariadb :
5+ restart : always
6+ image : " mariadb"
7+ container_name : " mariadb"
8+ ports :
9+ - " 127.0.0.1:3307:3306"
10+ environment :
11+ - MARIADB_ROOT_PASSWORD=blabla
12+ - MARIADB_DATABASE=ejudge
13+ - MARIADB_USER=ejudge
14+ - MARIADB_PASSWORD=blabla
15+ volumes :
16+ - mysql_data:/var/lib/mysql
17+
18+ ejudge :
19+ build :
20+ context : .
21+ restart : always
22+ image : " ejudge:latest"
23+ container_name : " ejudge"
24+ ports :
25+ - " 127.0.0.1:90:80"
26+ environment :
27+ - EJUDGE_MYSQL_USER=ejudge
28+ - EJUDGE_MYSQL_PASSWORD=blabla
29+ - EJUDGE_MYSQL_DATABASE=ejudge
30+ - EJUDGE_MYSQL_HOST=mariadb
31+ volumes :
32+ - ejudge_data:/home/judges
33+ depends_on :
34+ - mariadb
35+
36+ volumes :
37+ mysql_data :
38+ ejudge_data :
You can’t perform that action at this time.
0 commit comments