-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
34 lines (33 loc) · 961 Bytes
/
docker-compose.dev.yml
File metadata and controls
34 lines (33 loc) · 961 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
version: '3.9'
services:
rust-dev:
container_name: jury-dev-backend
environment:
- MONGODB_URI=${MONGODB_URI}
- JURY_ADMIN_PASSWORD=${JURY_ADMIN_PASSWORD}
- PORT=8000
- CARGO_TARGET_DIR=/root/target
build:
context: './'
dockerfile: dev.Dockerfile
ports:
- 8000:8000
volumes:
- .:/jury
- ./.cargo/registry:/usr/local/cargo/registry
- ./.target:/root/target
node-dev:
depends_on:
- 'rust-dev'
container_name: jury-dev-frontend
environment:
- REACT_APP_JURY_NAME=${JURY_NAME}
- REACT_APP_JURY_URL=http://localhost:8000/api
- REACT_APP_HUB=${HEHE:-}
build:
context: './'
dockerfile: client/dev.Dockerfile
ports:
- 3000:3000
volumes:
- ./client:/client