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

Abierto
#466 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
38/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
docker, php

Línea de trabajo

Comience con la configuración de Daemon y el despliegue de prueba descritos en los pasos de reproducción; después, rastree dónde se escriben dentro del contenedor los datos de external-app, incluidos los modelos STT Whisper 2. Compruebe si ya se admite la asignación de almacenamiento del host e identifique la ruta relevante del contenedor. Se considerará terminado cuando la instalación de external-app ya no agote la imagen de Docker y la asignación de almacenamiento esté documentada.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
PHP
Estrellas
202
Forks
30
Merge medio
3 d 20 h
PR fusionados (30 d)
24

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nextcloud/app_api

Todos los issues de nextcloud/app_api

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.