Skip to content

Feature/docker compose - #109

Merged
ddetommaso merged 8 commits into
masterfrom
feature/docker_compose
Dec 5, 2025
Merged

Feature/docker compose#109
ddetommaso merged 8 commits into
masterfrom
feature/docker_compose

Conversation

@ddetommaso

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces Docker Compose support for the PyiCub project, enabling containerized deployment with a separate YARP server service and improving configuration flexibility through environment variables.

Key Changes

  • Added a new compose.yarp.yaml file to run YARP server as a separate containerized service
  • Renamed environment variables from ICUBSRV_* to PYICUB_* for better naming consistency
  • Added conditional YARP server startup logic based on the YARP_SERVER environment variable

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
docker/compose.yarp.yaml New Docker Compose service definition for standalone YARP server with yarprun
docker/compose.yaml Added include for yarp compose file, default image names, dependency on yarpserver service
docker/.env Renamed ICUBSRV_* variables to PYICUB_*, added YARP_SERVER flag, changed default simulation mode to true
docker/Dockerfile.pyicub Changed from git clone to COPY command for including repository code in the image
scripts/start.sh Added conditional logic to either start or detect existing YARP server based on YARP_SERVER variable
scripts/common.sh Renamed ICUBSRV_NODE to PYICUB_NODE in yarprun command, added check_existing_yarpserver function
icub-apps/applications/cluster-config.xml Removed nameserver node attribute, renamed node from icubsrv-node to pyicub-node
icub-apps/applications/icubSim/icub-gazebo.xml Replaced all references to ICUBSRV_NODE and ICUBSRV_HOST with PYICUB_NODE

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/common.sh
Comment thread docker/compose.yaml Outdated
Comment thread docker/compose.yarp.yaml Outdated
Comment thread docker/Dockerfile.pyicub
Comment thread docker/Dockerfile.pyicub
ddetommaso and others added 6 commits December 3, 2025 16:33
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ddetommaso
ddetommaso merged commit 25b4737 into master Dec 5, 2025
1 check passed
@ddetommaso
ddetommaso deleted the feature/docker_compose branch April 22, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants