-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
108 lines (101 loc) · 2.8 KB
/
docker-compose.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
services:
sr-ros2-core:
container_name: sr-ros2
image: ghcr.io/tud-phi/sr-ros2-bundles:main
build:
context: .
dockerfile: Dockerfile
args:
ELASTICA: false
PYTORCH: false
SOFA: false
HSA: false
environment:
- DISPLAY
- QT_X11_NO_MITSHM=1
ports:
# for communication through MODBUS / TCP with VTEM motion terminal
- target: 502
published: 502
protocol: tcp
privileged: true
sr-ros2-core-elastica:
container_name: sr-ros2-elastica
image: ghcr.io/tud-phi/sr-ros2-bundles:elastica
build:
args:
ELASTICA: true
sr-ros2-core-pytorch:
container_name: sr-ros2-pytorch
image: ghcr.io/tud-phi/sr-ros2-bundles:pytorch
build:
args:
PYTORCH: true
sr-ros2-core-sofa:
container_name: sr-ros2-sofa
image: ghcr.io/tud-phi/sr-ros2-bundles:sofa
build:
context: .
args:
SOFA: true
environment:
- QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins
- QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins
sr-ros2-core-macos:
extends: sr-ros2-core
build:
ssh:
- default
environment:
- DISPLAY=host.docker.internal:0
volumes:
- type: bind
source: /tmp/.X11-unix
target: /tmp/.X11-unix
sr-ros2-core-ubuntu:
extends: sr-ros2-core
build:
network: host
ssh:
- default
environment:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,graphics,utility,display
network_mode: host
runtime: nvidia
volumes:
- type: bind
source: /home
target: /home
sr-ros2-core-windows:
extends: sr-ros2-core
environment:
- DISPLAY=host.docker.internal:0
# ports:
# CYCLONE_DDS communication between Docker container and host system
# https://github.com/eclipse-cyclonedds/cyclonedds/issues/677#issuecomment-768966870
# - "192.168.200.169:7412:7412/udp"
# - "192.168.200.169:7413:7413/udp"
sr-ros2-pneumatic-ubuntu:
extends: sr-ros2-core-ubuntu
image: ghcr.io/tud-phi/sr-ros2-bundles:pneumatic
build:
args:
PNEUMATIC: true
sr-ros2-hsa-ubuntu:
extends: sr-ros2-core-ubuntu
image: ghcr.io/tud-phi/sr-ros2-bundles:hsa
build:
args:
HSA: true
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
- /dev/snd:/dev/snd
sr-ros2-hsa-macos:
extends: sr-ros2-core-macos
image: ghcr.io/tud-phi/sr-ros2-bundles:hsa
build:
args:
HSA: true
devices:
- /dev/tty.usbserial-*:/dev/ttyUSB*