-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (40 loc) · 847 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
41 lines (40 loc) · 847 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
39
40
41
version: "3.5"
services:
redis:
image: redis:alpine
container_name: redis
hostname: redis
volumes:
- "./data/redis:/data"
expose:
- 6379
ml_modul:
container_name: ml_modul
build: img_sgm_ml
environment:
- MODEL_DIR=/data/models
# - USECOCO=true comment if you dont want to use coco if no model is found
- RQ_QUEUE_NAME=default
- REDIS_HOST=redis
- REDIS_PORT=6379
- DOCKER=TRUE
ports:
- 9090:9090
depends_on:
- redis
links:
- redis
volumes:
- "./img_sgm:/app/img_sgm"
- "./rsc:/app/img_sgm_ml/rsc"
- "./data/server:/data"
- "./logs:/tmp"
labeltool:
container_name: labeltool
build: img_sgm
depends_on:
- ml_modul
ports:
- 8080:8080
volumes:
- "./img_sgm:/img_sgm"