fix: worker logs permission denied + migration AFTER password

This commit is contained in:
Lizandro Guarnizo
2026-03-10 22:23:30 -05:00
parent db469b2134
commit 1fb4361f96
3 changed files with 15 additions and 3 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
# Entrypoint del worker: arregla permisos del volumen montado y ejecuta como www
mkdir -p /var/www/html/logs /var/www/html/uploads
chown -R www:www /var/www/html/logs /var/www/html/uploads
chmod -R 775 /var/www/html/logs /var/www/html/uploads
exec su-exec www "$@"