Skip to content

Update Docker#3247

Merged
sfeilmeier merged 6 commits intoOpenEMS:developfrom
da-Kai:feature/fix-docker
Jul 22, 2025
Merged

Update Docker#3247
sfeilmeier merged 6 commits intoOpenEMS:developfrom
da-Kai:feature/fix-docker

Conversation

@da-Kai
Copy link
Copy Markdown
Contributor

@da-Kai da-Kai commented Jul 22, 2025

  • fix permission issues
  • improve README.md
  • Update docker-compose.yml to explicitly tell users to replace hostname`

@da-Kai da-Kai requested a review from Copilot July 22, 2025 18:33

This comment was marked as outdated.

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #3247      +/-   ##
=============================================
- Coverage      59.42%   59.35%   -0.06%     
  Complexity       139      139              
=============================================
  Files           2701     2701              
  Lines         117464   117464              
  Branches        8719     8719              
=============================================
- Hits           69787    69705      -82     
- Misses         45051    45144      +93     
+ Partials        2626     2615      -11     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@da-Kai da-Kai requested a review from Copilot July 22, 2025 18:37
Copy link
Copy Markdown

Copilot AI left a comment

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 fixes Docker permission issues and improves documentation for the OpenEMS Docker deployment. The changes include replacing cp commands with rsync to ensure proper file ownership, adding dos2unix conversion for cross-platform compatibility, and updating documentation to provide clearer instructions for hostname configuration.

  • Replaces cp commands with rsync --chown=abc:abc to fix file permission issues
  • Adds dos2unix package and line ending conversion for cross-platform compatibility
  • Updates README files and docker-compose.yml to explicitly instruct users to replace hostnames

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tools/docker/ui/root/etc/s6-overlay/s6-rc.d/init-nginx/run Replaces cp with rsync for proper file ownership in nginx initialization
tools/docker/ui/README.md Improves formatting with additional spacing around code blocks
tools/docker/ui/Dockerfile Adds dos2unix and rsync packages, implements line ending conversion
tools/docker/edge/root/etc/s6-overlay/s6-rc.d/init-openems-config/run Adds ownership control to rsync command for config initialization
tools/docker/edge/docker-compose.yml Updates UI_WEBSOCKET to use placeholder hostname with clear replacement instructions
tools/docker/edge/README.md Updates URLs to use hostname placeholder and improves documentation formatting
tools/docker/edge/Dockerfile Simplifies package installation and adds dos2unix conversion
tools/docker/backend/root/etc/s6-overlay/s6-rc.d/init-openems-config/run Replaces cp with rsync for both config and metadata file operations
tools/docker/backend/docker-compose.yml Updates UI_WEBSOCKET to use placeholder hostname with replacement instructions
tools/docker/backend/README.md Updates URLs to use hostname placeholder and improves formatting
tools/docker/backend/Dockerfile Simplifies package installation and adds dos2unix conversion

@da-Kai da-Kai requested a review from sfeilmeier July 22, 2025 18:48
Copy link
Copy Markdown
Contributor

@sfeilmeier sfeilmeier left a comment

Choose a reason for hiding this comment

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

Thanks for your continous improvements! 🤞

@sfeilmeier sfeilmeier merged commit 9228aaa into OpenEMS:develop Jul 22, 2025
7 of 9 checks passed
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.

3 participants