-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
31 lines (30 loc) · 949 Bytes
/
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
services:
Athena:
environment:
- DISPLAY=novnc:0.0
- UDEV=on
image: mcgillrobotics/humanoid:latest
build: .
volumes:
- ./:/root/Humanoid
- /dev:/dev # uncomment when using real servos
privileged: true # uncomment when using real servos
command: bash -c "chmod -R +x /root/Humanoid/catkin_ws/src && tail -f /dev/null"
container_name: humanoid_ros
network_mode: host # comment out to use unity vis/sim
# # Uncomment to use GPU
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
# novnc:
# image: theasp/novnc:latest
# ports:
# - "8080:8080"
# environment:
# - RUN_XTERM=no
# - DISPLAY_WIDTH=6000
# - DISPLAY_HEIGHT=3000 #need to adjust based off height and width of your screen, going for bigger values is typically recommended.