Production container runs as the owner of /mnt/NTPFiles (65534:2)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
07831cff85
commit
d28802994a
|
|
@ -12,6 +12,8 @@ services:
|
||||||
args:
|
args:
|
||||||
WEB_MODE: build:prod
|
WEB_MODE: build:prod
|
||||||
restart: unless-stopped
|
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
|
env_file: .env
|
||||||
environment:
|
environment:
|
||||||
ASPNETCORE_ENVIRONMENT: Production
|
ASPNETCORE_ENVIRONMENT: Production
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue