Last active
November 8, 2022 02:16
-
-
Save Kyungpyo-Kim/4d2147b56f7f59fc82152e7507a590ea to your computer and use it in GitHub Desktop.
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
version: "3.5" | |
services: | |
master_core: | |
container_name: master_core | |
image: git.acelab.ai:8070/brain:${branch}_${tag}_${code_name}_${architecture} | |
user: root | |
environment: | |
ROS_DISTRO: "melodic" | |
ports: | |
- "11311:11311" | |
networks: | |
brain_net: | |
ipv4_address: 192.168.100.51 | |
devices: | |
- "${license_device}" | |
volumes: | |
- "/dev/disk:/dev/disk" | |
command: bash -c "/home/acelab/brain/scripts/master_core.sh" | |
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 | |
networks: | |
brain_net: | |
ipv4_address: ${brain_dev_ip} | |
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" | |
networks: | |
brain_net: | |
name: brain_net | |
driver: bridge | |
ipam: | |
config: | |
- subnet: "192.168.100.0/24" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment