Ability to override the default persistent volume mount
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 48/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- docker, php
研究方向
從 occ app_api:app:register 入口點開始,追蹤 --mount 選項和持久性磁碟區如何對應到 Docker 容器中。使用指向 /nc_app_APP_ID_data 的 mount 重現範例註冊,然後驗證明確指定的 mount 會取代持久性磁碟區,且 app 移除後資料仍然保留。
由索引模型根據 Issue 內容生成。
描述
Describe why it is important and where it will be useful
Most if not all apps put their persistent data in this volume so it would be nice to override it so the local data can be used/the data can be kept even after the ex-app is removed completely (with data).
Describe your proposed solution
Check for the mount mapping in the docker container, if it tries to bind the exact same path as the persistent volume, do not try to mount the persistent volume and use this one.
A sample ex-app register command to mount a volume:
occ app_api:app:register APP_ID harp_proxy_docker --wait-finish --mount /path/in/local/storage/persistent_storage_my_app:/nc_app_APP_ID_data
Describe alternatives you've considered, if relevant
No response
Additional context
No response
- 主要語言
- PHP
- 星號
- 202
- 分支
- 30
- 平均合併
- 3 天 20 小時
- 30 天內合併 PR
- 24
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
nextcloud/app_api 的其他 Issue
-
bug docker
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆
-
deploy discussion
難度 5/5 一週以上 新手友好度 20/100
nextcloud/app_api#1236 · 1 個 reaction ·
維護者通常 1 天內回覆
-
deploy docker enhancement
難度 4/5 3-5 天 新手友好度 48/100
維護者通常 1 天內回覆
-
bug deploy docker
難度 4/5 3-5 天 新手友好度 42/100
維護者通常 1 天內回覆
查看 nextcloud/app_api 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 77/100
Adyen/adyen-magento2#3453 ·
維護者通常 8 天內回覆
-
component/media domain/discovery
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
-
難度 2/5 1-3 小時 新手友好度 79/100
維護者通常 1 天內回覆
-
enhancement priority: low
難度 2/5 1-3 小時 新手友好度 82/100
magicsunday/webtrees-statistics#664 ·
維護者通常 1 天內回覆