Volume path overlap with existing paths inside image
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- docker, php, sqlite
- Área
- database, infrastructure
Línea de trabajo
Read the container configuration and the LinkStack application setup to find how /htdocs is mounted and where the SQLite database is configured or seeded. Check the existing volume definitions and startup process first. Done means the database can use its own configurable location, is created at container start, and only /htdocs/storage/app/public needs to persist uploaded files.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The /htdocs webroot inside the container is currently recommended to be configured as volume. However since it contains files required for the application to function, it causes issues with very common use-cases which override the volume content at mount, leaving an empty directory.
The following use-cases are currently impossible without workarounds (see below):
- Bind volumes with Docker/Podman/Compose
- Kubernetes volumes
A workaround is to copy the original content of the image in the volume with an init container, prior to the main container starting. But this rather hacky and not ideal.
The following changes would be required at minimum:
- Allow defining the location of the SQLite database file: that way it can be configured to be read from its own dedicated (sub-)directory and configured as volume
- I see a non-empty database is already present on the image's FS. If it is somehow seeded and built into the app that's also bad practice and instead it should be created from scratch at container start
- Only mount
/htdocs/storage/app/publicas a volume to persist file uploads: AFAIK the rest of the webroot doesn't need to be persisted
- Lenguaje dominante
- Shell
- Estrellas
- 527
- Forks
- 72
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de LinkStackOrg/linkstack-docker
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
LinkStackOrg/linkstack-docker#170 · 14 comentarios · 10 reacciones ·
-
Potential information disclosure: runtime Laravel log accessible without authentication in a Docker deploymentPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
LinkStackOrg/linkstack-docker#168 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
LinkStackOrg/linkstack-docker#166 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 57/100
LinkStackOrg/linkstack-docker#161 · 1 comentario ·
-
github package out of dateAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
LinkStackOrg/linkstack-docker#160 · 3 comentarios ·
Todos los issues de LinkStackOrg/linkstack-docker
Issues similares
-
Security: Vulnerable PHP version (CVE-2026-109618 / CVE-2026-109619) in current Docker imagesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
MISP/misp-docker#478 ·
Los mantenedores suelen responder en 1 día
-
roadmap-100
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
priority: medium status: needs-decision work-class: scoped
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
melodic-software/claude-code-plugins#9339 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Theme switch hangs in omarchy-theme-set-browser when Brave Origin runs and brave-bin is installedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
数据界面的横向滚动条缺失Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
zilliztech/attu#1037 ·