forked from devrt/ros-devcontainer-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (47 loc) · 940 Bytes
/
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
version: '2.3'
services:
xserver:
image: devrt/xserver
ipc: host
security_opt:
- seccomp:unconfined
ports:
- "3000:80"
healthcheck:
test: ["CMD-SHELL", "test -e /tmp/.X11-unix/X0"]
interval: "1s"
retries: 20
simulator:
image: ghcr.io/butia-bots/tmc_wrs_binary:nvidia
ipc: host
security_opt:
- seccomp:unconfined
environment:
- DISPLAY=:0
volumes_from:
- xserver
depends_on:
- xserver
workspace:
# env_file:
# - .env
image: butia-bots/ros-devcontainer-vscode:nvidia
ipc: host
security_opt:
- seccomp:unconfined
ports:
- "3001:3000"
- "3002:8888"
volumes:
- workspace:/workspace
- ~/.gitconfig:/home/developer/.gitconfig
environment:
- DISPLAY=:0
- ROS_MASTER_URI=http://simulator:11311/
volumes_from:
- xserver
- simulator
depends_on:
- xserver
volumes:
workspace: