Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
Replace shell commands with application shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Holum committed Aug 23, 2023
1 parent aa8a0bb commit 28c01c4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ services:
restart_policy:
condition: any
delay: 2s
# TODO: replace this tee here and in common_aliases with some integrated logger
command: bash -c "ros2 launch moveit_studio_agent studio_agent_bridge.launch.py 2>&1 | tee -a ~/.ros/log/agent_bridge_0_0.log"
command: agent_bridge.app

# Starts the frontend-agent
frontend_agent:
Expand All @@ -57,8 +56,7 @@ services:
test: "curl -f http://localhost:3200/objectives"
interval: 5s
timeout: 1m
# TODO: replace this tee here and in common_aliases with some integrated logger
command: bash -c "ros2 launch moveit_studio_rest_api rest_api.launch.py 2>&1 | tee -a ~/.ros/log/rest_api_0_0.log"
command: rest_api.app

# Starts the robot drivers
drivers:
Expand All @@ -69,8 +67,7 @@ services:
rtprio: 99
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0" # Allow access to the gripper.
# TODO: replace this tee here and in common_aliases with some integrated logger
command: bash -c "ros2 launch moveit_studio_agent robot_drivers.launch.py 2>&1 | tee -a ~/.ros/log/robot_0_0.log"
command: robot.app

web_ui:
image: picknikciuser/moveit-studio-frontend:${STUDIO_DOCKER_TAG:-main}
Expand Down

0 comments on commit 28c01c4

Please sign in to comment.