Added docker compose to project

This commit is contained in:
Alex Davies 2024-09-13 15:51:49 -03:00
parent 3c4e35938f
commit fbb8ab366e
1 changed files with 25 additions and 0 deletions

25
src/docker-compose.yml Normal file
View File

@ -0,0 +1,25 @@
version: '3'
services:
ros1-catkin-test:
build:
context: .
dockerfile: Dockerfile
environment:
- "ROS_MASTER_URI=http://ros-master:11311"
volumes:
- ./src:/root/catkin_ws/src/myproject
command: bash -c "tail -f /dev/null"
networks:
- sdk
- default
stdin_open: true
tty: true
ulimits:
nofile:
soft: 1024
hard: 524288
networks:
sdk:
external:
name: spiri-sdk-desktop_default