fix: worker logs permission denied + migration AFTER password
This commit is contained in:
@@ -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 "$@"
|
||||
Reference in New Issue
Block a user