compose update

This commit is contained in:
2026-07-08 17:16:56 +05:30
parent e7ab0f3368
commit 8238bcf981
2 changed files with 8 additions and 0 deletions

View File

@@ -110,6 +110,10 @@ each video's `rel_path` carries its subfolder, which the dashboard shows in a **
> In-app NFS mounting needs `nfs-common` (in the image) and the server container's `cap_add: SYS_ADMIN`
> + `security_opt: apparmor:unconfined` (in `docker-compose.yml`; use `privileged: true` if your host's
> `mount.nfs` still refuses). `local`-only deployments need none of this.
>
> The server service also sets `init: true` — it spawns exiftool/mount.nfs children as PID 1, and
> without an init their orphans become unreapable zombies that block `docker stop`
> ("PID … is zombie and can not be killed"). Keep it if you copy the service elsewhere.
### Roles

View File

@@ -19,6 +19,10 @@ services:
server:
restart: unless-stopped
# The server spawns exiftool + mount.nfs children; without an init as PID 1
# their orphans become unreapable zombies and docker can't stop the container
# ("PID … is zombie and can not be killed"). tini forwards signals + reaps.
init: true
build:
context: .
dockerfile: server/Dockerfile