|
|
@ -42,6 +42,9 @@ |
|
|
|
(log-file |
|
|
|
(log-file |
|
|
|
(string "/var/log/jellyfin.log") |
|
|
|
(string "/var/log/jellyfin.log") |
|
|
|
"Path to log file.") |
|
|
|
"Path to log file.") |
|
|
|
|
|
|
|
(auto-start? |
|
|
|
|
|
|
|
(boolean #t) |
|
|
|
|
|
|
|
"Whether to start automatically.") |
|
|
|
(extra-options |
|
|
|
(extra-options |
|
|
|
(list '()) |
|
|
|
(list '()) |
|
|
|
"List of extra options.") |
|
|
|
"List of extra options.") |
|
|
@ -74,7 +77,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
(define jellyfin-oci-containers |
|
|
|
(define jellyfin-oci-containers |
|
|
|
(match-record-lambda <jellyfin-configuration> |
|
|
|
(match-record-lambda <jellyfin-configuration> |
|
|
|
(cache-directory config-directory proxy-url log-file extra-options) |
|
|
|
(cache-directory config-directory |
|
|
|
|
|
|
|
proxy-url log-file auto-start? extra-options) |
|
|
|
(list (oci-container-configuration |
|
|
|
(list (oci-container-configuration |
|
|
|
(user "jellyfin") |
|
|
|
(user "jellyfin") |
|
|
|
(group "docker") |
|
|
|
(group "docker") |
|
|
@ -86,6 +90,7 @@ |
|
|
|
(image "jellyfin/jellyfin:latest") |
|
|
|
(image "jellyfin/jellyfin:latest") |
|
|
|
(provision "jellyfin") |
|
|
|
(provision "jellyfin") |
|
|
|
(log-file log-file) |
|
|
|
(log-file log-file) |
|
|
|
|
|
|
|
(auto-start? auto-start?) |
|
|
|
(respawn? #t) |
|
|
|
(respawn? #t) |
|
|
|
(network "host") |
|
|
|
(network "host") |
|
|
|
(volumes |
|
|
|
(volumes |
|
|
|