-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose-podium-sim.yml
49 lines (47 loc) · 1.19 KB
/
docker-compose-podium-sim.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
version: '3'
networks:
ros:
driver: bridge
services:
ros-master:
image: osrf/ros:melodic-desktop-full
networks:
- ros
command: [roscore]
flo_sim:
build:
context: ./
args:
ROS_USER: $USER
R_GID: $R_GID
R_UID: $R_UID
depends_on:
- ros-master
volumes:
- $XSOCK:$XSOCK:rw
- $XAUTH:$XAUTH:rw
- ./certs/aws-credentials:/home/$USER/.aws/credentials
- ./certs/aws-config:/home/$USER/.aws/config
- /tmp/pulseaudio.socket:/tmp/pulseaudio.socket
- ~/flo_db:/home/$USER/db
- ./:/home/$USER/catkin_ws/src/FloSystem:ro
user: $USER
networks:
- ros
environment:
- DISPLAY
- ROS_MASTER_URI=http://ros-master:11311
- ROS_HOSTNAME=flo_sim
#- QT_X11_NO_MITSHM=1
- XAUTHORITY=${XAUTH}
- FLO_SERVER_IP=host.docker.internal
- NODE_TLS_REJECT_UNAUTHORIZED=0
- PULSE_SERVER=unix:/tmp/pulseaudio.socket
- PULSE_COOKIE=/tmp/pulseaudio.cookie
env_file:
- ./certs/sim-info.env
extra_hosts:
- host.docker.internal:host-gateway
command: roslaunch --wait flo_core podium_bringup.launch simulate:=True
# command: [rqt_bag]