Skip to content

fix(docker): disable stale macOS nginx mount - #19126

Merged
JinHai-CN merged 1 commit into
infiniflow:mainfrom
dynnfa:feature/disable-stale-macos-nginx-mount
Sep 2, 2026
Merged

JinHai-CN merged 1 commit into
infiniflow:mainfrom
dynnfa:feature/disable-stale-macos-nginx-mount

Conversation

@dynnfa

@dynnfa dynnfa commented Sep 2, 2026

Copy link
Copy Markdown

Summary

The docker/nginx/ragflow.conf path no longer exists in the repository, but docker-compose-macos.yml still 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 uses restart: 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 generate ragflow.conf from the bundled deployment-specific Nginx configuration and start normally.

@coderabbitai

coderabbitai Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: e50692b9-6ab1-4de4-9bb0-74a4784a8975

📥 Commits

Reviewing files that changed from the base of the PR and between 500fe29 and 20f6bf6.

📒 Files selected for processing (1)
  • docker/docker-compose-macos.yml

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The macOS Docker Compose configuration comments out the custom ragflow.conf Nginx volume mount for the ragflow service.

Changes

macOS Nginx configuration

Layer / File(s) Summary
Disable custom Nginx configuration mount
docker/docker-compose-macos.yml
The ragflow service no longer mounts ./nginx/ragflow.conf into the container's Nginx configuration directory.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 20f6b

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

A rabbit checks the Compose file
The Nginx mount rests for a while
One line turns quiet and still
The container follows its will
Carrots applaud the tidy style

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: disabling the stale macOS Nginx mount.
Description check ✅ Passed The description includes the required Summary section and explains the missing path, macOS Docker behavior, restart loop, and resulting fix.
Docstring Coverage ✅ Passed 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…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@myf-bee myf-bee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@JinHai-CN
JinHai-CN merged commit d441aa0 into infiniflow:main Sep 2, 2026
@dynnfa
dynnfa deleted the feature/disable-stale-macos-nginx-mount branch September 2, 2026 07:42
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