External Apps download data directly to the docker image, not host storage (Docker on Unraid)

未关闭
#466 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
docker, php

调研方向

先从复现步骤中描述的 Daemon 配置和测试部署开始,然后跟踪 external-app 数据(包括 STT Whisper 2 模型)写入容器内的位置。检查是否已经支持主机存储映射,并确定相关的容器路径。完成标准是:安装 external-app 不再耗尽 Docker 镜像,并且存储映射已有文档说明。

由索引模型根据 Issue 内容生成。

描述

docker enhancement priority: medium
Describe the bug

I originally posted this to docker-socket-proxy, but think app_api might be the more appropriate repo?
https://github.com/nextcloud/docker-socket-proxy/issues/40

Docker image size limit is exceeded during external app installation, causing install to fail.

Steps/Code to Reproduce
  1. Configure and test the Daemon
  2. Run the test deployment
  3. Install an external App (STT Whisper 2)
  4. Data for both the test deployment as well as the installed app is saved to the docker image /volumes dir. As the STT Whisper app has a significant amount of AI model data, the docker image size limit is exceeded causing the install to fail.

Image

Expected Results

I am not a dev, so this could be a misunderstanding on my part, but I thought the docker image held executable binaries, whereas application data (such as AI models in this specific case) should be stored elsewhere on the host storage.

Assuming I'm not wrong, there should be a host path env variable for downloaded data to be saved to the host storage outside the docker image (since my nextcloud instance is installed via docker as well, presumably this path can be read/imported from the main nextcloud installation).

If this already exists, could the docs be updated to include the container path where downloaded external app data will be saved so that we can map it appropriately on the host system?

Actual Results

Docker image size limit exceeded, causing exapp install to fail.

Setup configuration

Web server: Nginx

Database: Maria 10.11

PHP version: 8.3

Nextcloud version: 29.0.4

Operating system: Docker / Unraid 6.12.13

主要语言
PHP
星标
202
派生
30
平均合并
3 天 20 小时
30 天内合并 PR
24

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/app_api 的其他 Issue

查看 nextcloud/app_api 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。