-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
63 lines (57 loc) · 1.59 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
# docker-compose.yml
# docker compose up
version: '3'
services:
cram-eurobin:
image: "arthurniedz/cram:test"
container_name: cram-eurobin-container
# for windows and mac, use 'network_mode: bridge'
network_mode: host
privileged: true
environment:
- DISPLAY
# - ROS_MASTER_URI=http://192.168.xxx.x:11311
volumes:
- ./lectures:/home/lectures
cram-demos:
image: "arthurniedz/cram:devel"
container_name: cram-devel-container
# for windows and mac, use 'network_mode: bridge'
network_mode: host
privileged: true
environment:
- DISPLAY
# - ROS_MASTER_URI=http://192.168.xxx.x:11311
volumes:
- ./lectures:/home/lectures
cram-lecture:
image: "arthurniedz/cram:latest"
container_name: cram-lecture-container
# for windows and mac, use 'network_mode: bridge'
network_mode: host
privileged: true
##############
# BEGIN Remove
# Remove this section if docker-compose complains about network_mode: host and port forwarding on newer debian versions (22.04)
ports:
- "8888:8888"
expose:
- "8888"
# END Remove
##############
environment:
- DISPLAY=${DISPLAY}
# set to the Turtles IP
# - ROS_MASTER_URI=http://192.168.xxx.x:11311
volumes:
- ./lectures:/home/lectures
cram-headless:
image: "arthurniedz/cram:headless-1.3"
container_name: cram-headless-container
network_mode: host
privileged: true
environment:
- DISPLAY=${DISPLAY}
volumes:
- ./lectures:/home/lectures
# entrypoint: ./lectures/init.sh