-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
56 lines (46 loc) · 1.19 KB
/
docker-compose.yaml
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
56
version: "1"
services:
reverse-proxy:
# The official v2 Traefik docker image
image: traefik:v2.9
# Enables the web UI and tells Traefik to listen to docker
command: --api.insecure=true --providers.docker
ports:
# The HTTP port
- "9050:80"
# The Web UI (enabled by --api.insecure=true)
- "9051:8080"
volumes:
# So that Traefik can listen to the Docker events
- /var/run/docker.sock:/var/run/docker.sock
#Queue Node
manager:
image: rhnode/manager:v1.2.0
expose:
- "8000"
labels:
- "traefik.http.routers.manager.rule=PathPrefix(`/manager`) || Path(`/`)"
environment:
#RH_OTHER_ADDRESSES: "mydomain:9050"
RH_NAME: "myhost"
RH_MEMORY: 12
RH_GPU_MEM: "8"
RH_NUM_THREADS: 6
# SynthSeg Node
synthseg:
build:
context: .
shm_size: '24gb'
shm_size: '24gb'
image: rhnode/synthseg:v1.0.3_rhnode1.2.0
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
expose:
- "8000"
labels:
- "traefik.http.routers.synthseg.rule=PathPrefix(`/synthseg`)"