Skip to content

Commit cb4610b

Browse files
committed
Run headless by default
The simulator now runs headless as default with additional added parameters in a settings file to run with GUI.
1 parent bfc9af2 commit cb4610b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docker-compose-nvidia.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@ version: "2.3"
22
services:
33
noetic:
44
runtime: nvidia
5+
volumes:
6+
- /tmp/.X11-unix:/tmp/.X11-unix
7+
environment:
8+
- DISPLAY=${DISPLAY}
9+
- HEADLESS=false

docker-compose.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ services:
1010
- "9090:9090"
1111
- "5000:5000"
1212
environment:
13-
- DISPLAY=${DISPLAY}
1413
- TELEOP_CONTROLLER=${TELEOP_CONTROLLER:-disabled}
1514
- ENABLE_MANIPULATOR=${ENABLE_MANIPULATOR:-false}
1615
- MANIPULATOR_GUI=${MANIPULATOR_GUI:-disabled}
17-
- HEADLESS=${HEADLESS:-false}
18-
volumes:
19-
- /tmp/.X11-unix:/tmp/.X11-unix
16+
- HEADLESS=${HEADLESS:-true}
2017
tty: true
2118
networks:
2219
- turtlenet

0 commit comments

Comments
 (0)