-
Notifications
You must be signed in to change notification settings - Fork 10
feat(docker): support Windows and macOS deployment with named volumes #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: whhe <27404407+whhe@users.noreply.github.com>
Co-authored-by: whhe <27404407+whhe@users.noreply.github.com>
…sistency Co-authored-by: whhe <27404407+whhe@users.noreply.github.com>
|
@copilot Several points need modification:
|
Co-authored-by: whhe <27404407+whhe@users.noreply.github.com>
Done! I've made the following changes in commit 5395c6b:
|
|
@copilot Resolve the review comments above, remember to keep minimize git diff. |
…dings Co-authored-by: whhe <27404407+whhe@users.noreply.github.com>
All review comments addressed in commit 184c211:
|
Co-authored-by: whhe <27404407+whhe@users.noreply.github.com>
|
@copilot If I have multiple deployments on a single machine, will there be issues due to volumes having the same name? If so, can I differentiate them by project name? |
Co-authored-by: whhe <27404407+whhe@users.noreply.github.com>
No conflicts. Docker Compose automatically prefixes volumes with the project name from For multiple deployments:
Added detailed documentation in commit e205208. |
|
@copilot change the pull request title and description to semantic commit message. |
Suggested PR Title: Suggested PR Description: Please update the PR title and description with these semantic commit message formatted versions. |
Docker Compose deployment used host bind mounts (
./ragflow-logs,./oceanbase/data) which cause path separator and permission issues on Windows and macOS.Changes
Docker Compose Files (5 files)
powerrag_logs←./ragflow-logspowerrag_history_data←../history_data_agentoceanbase_data←./oceanbase/dataoceanbase_conf←./oceanbase/confDocumentation (
docker/README.mdanddocker/README_zh.md)docker compose logs)Example
Before:
After:
Volume naming with COMPOSE_PROJECT_NAME:
COMPOSE_PROJECT_NAME=powerrag):powerrag_powerrag_logs,powerrag_oceanbase_dataCOMPOSE_PROJECT_NAME=powerrag-dev):powerrag-dev_powerrag_logs,powerrag-dev_oceanbase_dataThis allows running multiple PowerRAG deployments on the same machine by setting unique project names in each deployment's
.envfile.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.