++ fix Permessi "app"
This commit is contained in:
@@ -5,7 +5,8 @@ services:
|
|||||||
dockerfile: docker/php/Dockerfile
|
dockerfile: docker/php/Dockerfile
|
||||||
container_name: termanager2_app
|
container_name: termanager2_app
|
||||||
restart: unless-stopped
|
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
|
working_dir: /var/www/html
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/var/www/html
|
- ./:/var/www/html
|
||||||
@@ -53,7 +54,8 @@ services:
|
|||||||
dockerfile: docker/php/Dockerfile
|
dockerfile: docker/php/Dockerfile
|
||||||
container_name: termanager2_queue
|
container_name: termanager2_queue
|
||||||
restart: unless-stopped
|
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
|
working_dir: /var/www/html
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/var/www/html
|
- ./:/var/www/html
|
||||||
|
|||||||
Reference in New Issue
Block a user