-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
55 lines (51 loc) · 1.18 KB
/
docker-compose.dev.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
52
53
54
55
services:
database:
extends:
file: common.yml
service: database
dev-backend:
extends:
file: common.yml
service: backend
build:
context: ./backend
dockerfile: Dockerfile.dev
volumes:
- ./backend/algobattle_web:/algobattle/algobattle_web
ports:
- 8000:8000
depends_on:
database:
condition: service_healthy
dev-runner:
init: true
extends:
file: common.yml
service: runner
build:
context: ./backend
dockerfile: Dockerfile.dev
volumes:
- ./backend/algobattle_web:/algobattle/algobattle_web
depends_on:
database:
condition: service_healthy
dev-frontend:
build:
context: ./frontend
dockerfile: Dockerfile.dev
stop_signal: SIGKILL
volumes:
- ./frontend/public:/algobattle/public
- ./frontend/src:/algobattle/src
- ./frontend/typescript_client:/algobattle/typescript_client
ports:
- 5173:5173
depends_on:
dev-backend:
condition: service_started
volumes:
db-data:
# intentionally empty
db-files:
# intentionally empty