diff --git a/deploy/prod/docker-compose.yml b/deploy/prod/docker-compose.yml index 5bd3efa..61af1c5 100644 --- a/deploy/prod/docker-compose.yml +++ b/deploy/prod/docker-compose.yml @@ -12,6 +12,8 @@ services: args: WEB_MODE: build:prod restart: unless-stopped + # /mnt/NTPFiles is owned by 65534 (nobody), group 2 and only its owner may write: run as that user, not as the image's "app" (1654) + user: "65534:2" env_file: .env environment: ASPNETCORE_ENVIRONMENT: Production