From 2396544099c3f2083b52453481c7e3bfb5de7413 Mon Sep 17 00:00:00 2001 From: vincent Date: Wed, 10 Aug 2022 19:31:23 +0200 Subject: [PATCH] modify jellyfin tag --- nomad-job/jellyfin.nomad | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/nomad-job/jellyfin.nomad b/nomad-job/jellyfin.nomad index 613918c..3f49c70 100644 --- a/nomad-job/jellyfin.nomad +++ b/nomad-job/jellyfin.nomad @@ -23,11 +23,17 @@ job "jellyfin" { service { name = "jellyfin" port = "http" - tags = [ - "traefik.enable=true", - "traefik.http.routers.${NOMAD_JOB_NAME}.rule=Host(`${NOMAD_JOB_NAME}.ducamps.win`)", - "traefik.http.routers.${NOMAD_JOB_NAME}.tls.domains[0].sans=${NOMAD_JOB_NAME}.ducamps.win", - "traefik.http.routers.${NOMAD_JOB_NAME}.tls.certresolver=myresolver", + tags = [ + "homer.enable=true", + "homer.name=jellyfin", + "homer.service=Application", + "homer.target=_blank", + "homer.logo=https://${NOMAD_JOB_NAME}.ducamps.win/web/assets/img/banner-light.png", + "homer.url=https://${NOMAD_JOB_NAME}.ducamps.win", + "traefik.enable=true", + "traefik.http.routers.${NOMAD_JOB_NAME}.rule=Host(`${NOMAD_JOB_NAME}.ducamps.win`)", + "traefik.http.routers.${NOMAD_JOB_NAME}.tls.domains[0].sans=${NOMAD_JOB_NAME}.ducamps.win", + "traefik.http.routers.${NOMAD_JOB_NAME}.tls.certresolver=myresolver", ]