ros2aria/compose.foxglove.user.yaml
2023-07-12 10:55:59 +02:00

31 lines
938 B
YAML

# docker compose -f compose.foxglove.yaml up
x-net-config:
&net-config
network_mode: host
ipc: host
services:
foxglove:
image: husarion/foxglove:humble-1.39.1-20230220
restart: on-failure
ports:
- 8080:8080
volumes:
- ./config/user_layout.json:/src/FoxgloveDefaultLayout.json
environment:
- FOXGLOVE_PORT=8080
- ROSBRIDGE_PORT=9090
# rosbridge:
# image: delicjusz/rosbridge
# <<: *net-config
# restart: on-failure
# environment:
# - RMW_IMPLEMENTATION=rmw_fastrtps_cpp
# - FASTRTPS_DEFAULT_PROFILES_FILE=/fastdds.xml
# volumes:
# - ./fastdds.xml:/fastdds.xml
# - ./rosbridge_websocket_launch.xml:/opt/ros/humble/share/rosbridge_server/launch/rosbridge_websocket_launch.xml
# command: >
# bash -c "source /ros2_ws/install/setup.bash && ros2 launch rosbridge_server rosbridge_websocket_launch.xml
# pioneer_id:=${PIONEER_ID}"