Skip to content

Instantly share code, notes, and snippets.

@Kyungpyo-Kim
Created November 8, 2022 01:39
Show Gist options
  • Save Kyungpyo-Kim/bc17c179090fb78a081c23f3da5fa699 to your computer and use it in GitHub Desktop.
Save Kyungpyo-Kim/bc17c179090fb78a081c23f3da5fa699 to your computer and use it in GitHub Desktop.
version: "3.5"
services:
brain_dev:
image: git.acelab.ai:8070/brain:${branch}_${tag}_${code_name}_${architecture}
container_name: brain_dev
volumes:
- ~/git:/home/acelab/git
- ~/ws:/home/acelab/ws
- ~/data:/home/acelab/data
- /tmp/.X11-unix:/tmp/.X11-unix:ro
- /root/.Xauthority:/root/.Xauthority:ro
network_mode: host
env_file:
- .env
command: sh -c "
echo 'export ROS_IP=${brain_dev_ip}' >> /home/acelab/.bashrc &&
echo 'export DISPLAY=${display}' >> /home/acelab/.bashrc &&
echo 'export LICENSE_SERVER_IP=192.168.100.51' >> /home/acelab/.bashrc &&
/usr/sbin/sshd -D"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment