@@ -23,6 +23,9 @@ The Free Software Media System on FreeBSD.
2323## Prerequisites
2424
2525Before deploying, ensure your host environment is ready. See the [ Quick Start Guide] ( ../quick-start.md ) for host setup instructions.
26+ !!! warning "Memory Locking (Critical)"
27+ This application is built on .NET and requires memory locking enabled in the jail.
28+ You ** must** use the ` allow.mlock ` annotation and have a [ patched ocijail] ( ../guides/ocijail-patch.md ) .
2629
2730## Deployment
2831
@@ -44,6 +47,8 @@ Before deploying, ensure your host environment is ready. See the [Quick Start Gu
4447 - @MOVIES_PATH@:/movies # optional
4548 ports:
4649 - @JELLYFIN_PORT@:8096
50+ annotations:
51+ org.freebsd.jail.allow.mlock: "true"
4752 restart: unless-stopped
4853 ```
4954
@@ -52,6 +57,7 @@ Before deploying, ensure your host environment is ready. See the [Quick Start Gu
5257 ```bash
5358 podman run -d --name jellyfin \
5459 -p @JELLYFIN_PORT@:8096 \
60+ --annotation 'org.freebsd.jail.allow.mlock=true' \
5561 -e PUID=@PUID@ \
5662 -e PGID=@PGID@ \
5763 -e TZ=@TZ@ \
@@ -82,6 +88,8 @@ Before deploying, ensure your host environment is ready. See the [Quick Start Gu
8288 - "@CONTAINER_CONFIG_ROOT@/@JELLYFIN_CACHE_PATH@:/cache" # optional
8389 - "@TV_PATH@:/tv" # optional
8490 - "@MOVIES_PATH@:/movies" # optional
91+ annotation:
92+ org.freebsd.jail.allow.mlock: "true"
8593 ```
8694
8795Access the Web UI at: ` http://localhost:@JELLYFIN_PORT@ `
@@ -116,6 +124,7 @@ Access the Web UI at: `http://localhost:@JELLYFIN_PORT@`
116124
117125 - **User:** `bsd` (UID/GID set via [PUID/PGID](../guides/permissions.md)). Defaults to `1000:1000`.
118126 - **Base:** Built on `ghcr.io/daemonless/base` (FreeBSD 15.0).
127+ - **.NET App:** Requires `--annotation 'org.freebsd.jail.allow.mlock=true'` and a [patched ocijail](../guides/ocijail-patch.md).
119128
120129[ Website] ( https://jellyfin.org/ ) { .md-button .md-button--primary }
121130[ Source Code] ( https://github.com/jellyfin/jellyfin ) { .md-button }
0 commit comments