cleanup
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{ config, containerCfg, pkgs, lib, builder, name, ... }:
|
||||
let
|
||||
serverCfg = config.syscfg.server;
|
||||
LDAP_DC_DOMAIN = "dc=ldap," + (lib.concatMapStringsSep "," (x: "dc=${x}") (lib.splitString "." serverCfg.hostDomain));
|
||||
LDAP_DC_DOMAIN = "dc=ldap," + (lib.concatMapStringsSep "," (x: "dc=${x}") (lib.splitString "." serverCfg.domain));
|
||||
nss = pkgs.dockerTools.fakeNss.override {
|
||||
extraPasswdLines = [
|
||||
"jellyfin:x:1000:1000:Jellyfin Daemon:/config/data:/bin/false"
|
||||
@@ -73,7 +73,7 @@ in {
|
||||
trigger = "server";
|
||||
envFile = config.sops.secrets."CUSTOM".path;
|
||||
script = pkgs.writeShellScript "setup" ''
|
||||
JELLYFIN_URL="https://${containerCfg.subdomain}.${serverCfg.hostDomain}"
|
||||
JELLYFIN_URL="https://${containerCfg.subdomain}.${serverCfg.domain}"
|
||||
until [ "$(${pkgs.curl}/bin/curl -sf "$JELLYFIN_URL/health")" = "Healthy" ]; do
|
||||
sleep 5
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user