-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
59 lines (56 loc) · 1.24 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
57
58
59
version: "3.9"
services:
sim2real_server:
image: rmus2022/server:v1.4.0
command: /server_launch.sh
network_mode: host
user: sim2real
deploy:
resources:
reservations:
devices:
- capabilities: [ gpu ]
environment:
- DISPLAY
- SERVER_PATCH
- QT_X11_NO_MITSHM=1
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- ./server_launch.sh:/server_launch.sh:ro
- ./server_patches:/server_patches:ro
sim2real_client:
build:
context: .
target: prod
image: njtech-rmus2022-client
network_mode: host
environment:
- DISPLAY
deploy:
resources:
limits:
cpus: '4.48'
memory: 8192M
reservations:
devices:
- capabilities: [ gpu ]
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
sim2real_robot:
build:
context: .
target: prod
command: ["roslaunch", "ep_driver", "bringup.launch"]
image: njtech-rmus2022-client
network_mode: host
privileged: true
environment:
- DISPLAY
deploy:
resources:
reservations:
devices:
- capabilities: [ gpu ]
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- /dev:/dev