++ fix Permessi "app"

This commit is contained in:
francesco
2026-06-17 17:47:05 +02:00
parent 1534c84d45
commit 5a32bebe32

View File

@@ -5,7 +5,8 @@ services:
dockerfile: docker/php/Dockerfile
container_name: termanager2_app
restart: unless-stopped
user: "1000:1000"
# Runs as root so the entrypoint can mkdir/chown the bind-mounted storage;
# php-fpm workers drop to www-data via docker/php/www.conf.
working_dir: /var/www/html
volumes:
- ./:/var/www/html
@@ -53,7 +54,8 @@ services:
dockerfile: docker/php/Dockerfile
container_name: termanager2_queue
restart: unless-stopped
user: "1000:1000"
# Same UID as php-fpm workers, so storage files stay consistent.
user: "www-data"
working_dir: /var/www/html
volumes:
- ./:/var/www/html