-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add docker compose for running images
Adding docker compose helps standardising running images. It also allows for easy integration with other tooling in the future (e.g. devcontainers). Still, backward compatibility is ensured by maintaining run-script functionality.
- Loading branch information
Wim-Peter Dirks
committed
Nov 1, 2024
1 parent
4b911bc
commit 716fc5d
Showing
2 changed files
with
62 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# SPDX-FileCopyrightText: Alliander N. V. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
services: | ||
franka: | ||
image: franka | ||
container_name: franka | ||
network_mode: host | ||
privileged: true | ||
mem_limit: 6gb | ||
volumes: | ||
- "/tmp/.X11-unix:/tmp/.X11-unix" | ||
- "${HOME}/.vscode-server:${HOME}/.vscode-server" | ||
- "${HOME}/docker_ws:${HOME}/docker_ws" | ||
- "/dev:/dev" | ||
environment: | ||
- "DISPLAY" | ||
- "RCUTILS_COLORIZED_OUTPUT=1" | ||
mobile_manipulator: | ||
image: mobile_manipulator | ||
container_name: mobile_manipulator | ||
network_mode: host | ||
privileged: true | ||
mem_limit: 6gb | ||
volumes: | ||
- "/tmp/.X11-unix:/tmp/.X11-unix" | ||
- "${HOME}/.vscode-server:${HOME}/.vscode-server" | ||
- "${HOME}/docker_ws:${HOME}/docker_ws" | ||
- "/dev/input:/dev/input" | ||
environment: | ||
- "DISPLAY" | ||
- "RCUTILS_COLORIZED_OUTPUT=1" | ||
panther: | ||
image: panther | ||
container_name: panther | ||
network_mode: host | ||
privileged: true | ||
mem_limit: 6gb | ||
volumes: | ||
- "/tmp/.X11-unix:/tmp/.X11-unix" | ||
- "${HOME}/.vscode-server:${HOME}/.vscode-server" | ||
- "${HOME}/docker_ws:${HOME}/docker_ws" | ||
- "/dev/input:/dev/input" | ||
environment: | ||
- "DISPLAY" | ||
- "RCUTILS_COLORIZED_OUTPUT=1" | ||
ros2: | ||
image: ros2 | ||
container_name: ros2 | ||
network_mode: host | ||
privileged: true | ||
mem_limit: 6gb | ||
volumes: | ||
- "/tmp/.X11-unix:/tmp/.X11-unix" | ||
- "${HOME}/.vscode-server:${HOME}/.vscode-server" | ||
- "${HOME}/docker_ws:${HOME}/docker_ws" | ||
environment: | ||
- "DISPLAY" | ||
- "RCUTILS_COLORIZED_OUTPUT=1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters