-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
38 lines (35 loc) · 852 Bytes
/
docker-compose.dev.yml
File metadata and controls
38 lines (35 loc) · 852 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
34
35
36
37
38
version: '2'
services:
mysql:
image: mysql:5
volumes:
- ./DB:/docker-entrypoint-initdb.d
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=aurora
web:
build: ./Web Interface
image: docker.pkg.github.com/pushkar8723/aurora/web
ports:
- 80:80
environment:
- AURORA_SQL_USER=root
- AURORA_SQL_PASS=aurora
- AURORA_SQL_DB=aurora_main
- AURORA_SQL_HOST=mysql
volumes:
- ./conf:/etc/apache2/sites-enabled
- ./Web Interface:/var/www/html
judge:
build: ./Judge
image: docker.pkg.github.com/pushkar8723/aurora/judge
ports:
- 8723:8723
environment:
- AURORA_SQL_HOSTNAME=mysql
- AURORA_SQL_USERNAME=root
- AURORA_SQL_PASSWORD=aurora
- AURORA_SQL_DATABASE=aurora_main
volumes:
- ./Judge:/home/judge