Repository navigation
fix(docker): disable stale macOS nginx mount - #19126
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe macOS Docker Compose configuration comments out the custom ChangesmacOS Nginx configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to The change disables a stale macOS Nginx mount so the container can generate its configuration normally; no actionable merge-blocking risk remains after normal checks and review. Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.) Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
The
docker/nginx/ragflow.confpath no longer exists in the repository, butdocker-compose-macos.ymlstill attempts to bind-mount it.On macOS, Docker treats the missing source path as a directory and mounts it to
/etc/nginx/conf.d/ragflow.conf. The container entrypoint then fails when attempting to generate the Nginx configuration at that path. Because the service usesrestart: unless-stopped, the container and Nginx enter an infinite restart loop.This PR disables the stale bind mount in
docker-compose-macos.yml, allowing the container entrypoint to generateragflow.conffrom the bundled deployment-specific Nginx configuration and start normally.