-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose-dev.yml
40 lines (39 loc) · 1.01 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
version: "3"
services:
docker-host:
image: qoomon/docker-host
cap_add: [ 'NET_ADMIN', 'NET_RAW' ]
restart: on-failure
backend:
container_name: annotation-service
build:
context: ./
dockerfile: Dockerfile
ports:
- "3002:3002" # Web Server
- "3001:3001" # GRPC Proxy Server
- "3000:3000" # GRPC Server
- "8000:8000"
- "8002:8002"
environment:
- SCM_DIR=/root/scm_result
- SERVICE_PORT=3000
- SERVICE_ADDR=$SERVICE_ADDR
- RESULT_DIR=/root/result
- ATOM_SERVER=docker-host:50051
working_dir: /root/annotation_service/
command: bash -c "circusd --log-level debug circus-dev.ini"
volumes:
- $HOME/.mozi/prod:/opt
- $DATASET:/root/annotation_service/datasets
- $RESULT_DIR:/root/result
frontend:
container_name: ui
build:
context: ./ui
dockerfile: Dockerfile
args:
- GRPC_ADDR=$GRPC_ADDR
- RESULT_ADDR=$RESULT_ADDR
ports:
- "3003:80" #annotation ui port