+
+ container_name |
+ `"jellyfin"` |
+ The name of your Docker container. |
+
+
+ image |
+ `ghcr.io/jellyfin/jellyfin:latest` |
+ The Docker image to use for the container. |
+
+
+ user |
+ `'UID:GID'` |
+ The `user:group` IDs of the user that will run the container. |
+
+
+ group_add |
+ `GID` |
+ ID of additional group to add. |
+
+
+ devices |
+ `:` |
+ Devices (ex. GPU) to pass into the container. |
+
+
+ environment |
+ `TZ=` |
+ Environment variables that affect the container. You can set variables here such as `TZ` for declaring a time zone. See more [**environment configs here**](https://jellyfin.org/docs/general/administration/configuration/). |
+
+
+ network_mode |
+ `bridge`, `host` |
+ Network mode to use for the container. If set to `host`, remove your forwarded ports. |
+
+
+ ports |
+ `host-port:container-port` |
+ Forward the host port to the container port. Refer to the TrueNAS [**default port list**](https://www.truenas.com/docs/references/defaultports/) for a list of assigned port numbers. |
+
+
+ cpus |
+ `'#'` |
+ Assign # amount of CPU threads to the container. You can't assign more threads than there exists on the installed CPU. |
+
+
+ mem_limit |
+ `#G` |
+ Limit memory usage by the container. Can also specify different units: `K=KB`, `M=MB`, `G=GB` |
+
+
+ restart |
+ `no`, `always`, `failure`, `unless-stopped` |
+ Declare how to handle automatic container restarts. |
+
+
+ volumes |
+ `/mnt/tank/jellyfin/my-config-dataset:/config:rw` |
+ Host mount paths on the host system onto the container |
+
+
+