Compare commits

...

3 Commits

Author SHA1 Message Date
Matthieu 5eff03f764 fix(prod) : créer var/log dans l'image pour que le volume de logs hérite des droits www-data
Le volume nommé inventory_logs est monté sur /var/www/html/var/log, mais ce
dossier n'existe pas dans l'image. Au premier montage d'un volume vide, Docker
crée le point de montage en root:root, ce qui empêche www-data d'écrire les
logs et fait crasher l'application. En créant var/log avant le chown -R, tout
volume de logs neuf hérite des droits www-data automatiquement.
2026-06-19 09:36:38 +02:00
gitea-actions 90ad851804 chore : bump version to v1.9.49
Auto Tag Develop / tag (push) Successful in 8s
Build & Push Docker Image / build (push) Successful in 2m3s
2026-06-15 09:31:52 +00:00
matthieu c3ad3b68a2 Merge pull request 'feat(machines) : clonage par catégorie (structure seule)' (#5) from feat/clone-machine-par-categorie into develop
Auto Tag Develop / tag (push) Successful in 9s
Reviewed-on: #5
2026-06-15 09:31:43 +00:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
parameters:
app.version: '1.9.48'
app.version: '1.9.49'
+1 -1
View File
@@ -76,7 +76,7 @@ COPY --from=frontend-build /app/frontend/.output/public /var/www/html/frontend/.
RUN echo "APP_ENV=prod" > /var/www/html/.env
# Permissions
RUN mkdir -p /var/www/html/var /var/www/html/var/uploads /var/www/html/var/storage/documents \
RUN mkdir -p /var/www/html/var /var/www/html/var/log /var/www/html/var/uploads /var/www/html/var/storage/documents \
&& chown -R www-data:www-data /var/www/html/var
WORKDIR /var/www/html