diff --git a/features/server/caddy.nix b/features/server/caddy.nix index 5b27bfb..3562437 100644 --- a/features/server/caddy.nix +++ b/features/server/caddy.nix @@ -5,7 +5,7 @@ virtualHosts = { "http://sisyphe.normandy.hypervirtual.world".extraConfig = '' - reverse_proxy :8082 + reverse_proxy :8003 ''; "http://git.hypervirtual.world".extraConfig = '' @@ -56,29 +56,9 @@ reverse_proxy :4000 ''; - "http://transmission.sisyphe.normandy.hypervirtual.world".extraConfig = '' + "http://transmission.normandy.hypervirtual.world".extraConfig = '' reverse_proxy :9091 ''; - - "http://uptime.sisyphe.normandy.hypervirtual.world".extraConfig = '' - reverse_proxy :4000 - ''; - - "http://mc.sisyphe.normandy.hypervirtual.world".extraConfig = '' - reverse_proxy :8443 - ''; - - "http://katflix.sisyphe.normandy.hypervirtual.world".extraConfig = '' - reverse_proxy :5055 - ''; - - "http://bazarr.sisyphe.normandy.hypervirtual.world".extraConfig = '' - reverse_proxy :6767 - ''; - - "http://bazarr-anime.sisyphe.normandy.hypervirtual.world".extraConfig = '' - reverse_proxy :6777 - ''; }; }; diff --git a/features/server/containers/sonarr.nix b/features/server/containers/sonarr.nix index 3098639..9b424f4 100644 --- a/features/server/containers/sonarr.nix +++ b/features/server/containers/sonarr.nix @@ -5,11 +5,7 @@ containers = { sonarrAnime = { image = "lscr.io/linuxserver/sonarr:latest"; - volumes = [ - "sonarr_data:/config" - "/srv/Multimedia/DessinsAnime:/tv" - "/srv/Multimedia/Torrents:/srv/Multimedia/Torrents" - ]; + volumes = [ "sonarr_data:/config" "/srv/Multimedia/DessinsAnime:/tv" "/srv/Multimedia/Torrents:/srv/Multimedia/Torrents" ]; ports = [ "8999:8989" ]; environment = { "PUID" = "1000"; @@ -17,20 +13,6 @@ "TZ" = "Europe/Paris"; }; }; - - bazarrAnime = { - image = "lscr.io/linuxserver/bazarr:latest"; - volumes = [ - "bazarr_data:/config" - "/srv/Multimedia/DessinsAnime:/tv" - ]; - ports = [ "6777:6767" ]; - environment = { - "PUID" = "1000"; - "GUID" = "1000"; - "TZ" = "Europe/Paris"; - }; - }; }; }; } diff --git a/features/server/services/homelab-dashboard.nix b/features/server/services/homelab-dashboard.nix index 8aa225f..ea89733 100644 --- a/features/server/services/homelab-dashboard.nix +++ b/features/server/services/homelab-dashboard.nix @@ -106,14 +106,14 @@ in "Calibre-web" = { icon = "calibre"; description = "Serveur de livres"; - href = "http://books.hypervirtual.world"; + href = "http://${ip}:5050"; }; } { "Freshrss" = { icon = "freshrss"; description = "Récupère les articles"; - href = "http://freshrss.hypervirtual.world"; + }; } ]; @@ -125,7 +125,7 @@ in "Jellyfin" = { icon = "jellyfin"; description = "Permet de regarder ou écouter du contenu."; - href = "http://media.hypervirtual.world"; + href = "http://${ip}:8096"; widget = { type = "jellyfin"; url = "http://${ip}:8096"; @@ -138,7 +138,7 @@ in "Jellyseerr" = { icon = "jellyseerr"; description = "Moteur de recherche de films/séries"; - href = "http://katflix.sisyphe.normandy.hypervirtual.world"; + href = "http://${ip}:5055"; widget = { type = "jellyseerr"; @@ -151,14 +151,14 @@ in "slskd" = { icon = "slskd"; description = "Pour télécharger/partager de la musique"; - href = "http://slskd.sisyphe.normandy.hypervirtual.world"; + href = "http://${ip}:5030"; }; } { "Prowlarr" = { icon = "prowlarr"; description = "Indexe les différents sites de téléchargement"; - href = "http://prowlarr.sisyphe.normandy.hypervirtual.world"; + href = "http://${ip}:9696/"; widget = { type = "prowlarr"; key = "{{HOMEPAGE_VAR_PROWLARR}}"; @@ -170,7 +170,7 @@ in "Sonarr" = { icon = "sonarr"; description = "Moteur de recherche pour les séries"; - href = "http://sonarr.sisyphe.normandy.hypervirtual.world"; + href = "http://${ip}:8989/"; widget = { type = "sonarr"; url = "http://${ip}:8989"; @@ -178,23 +178,11 @@ in }; }; } - { - "Sonarr anime" = { - icon = "sonarr"; - description = "Moteur de recherche pour les séries animées"; - href = "http://sonarr-anime.sisyphe.normandy.hypervirtual.world"; - widget = { - type = "sonarr"; - url = "http://${ip}:8999"; - key = "{{HOMEPAGE_VAR_SONARRANIME}}"; - }; - }; - } { "Radarr" = { icon = "radarr"; description = "Moteur de recherche pour les films"; - href = "http://radarr.sisyphe.normandy.hypervirtual.world"; + href = "http://${ip}:7878"; widget = { type = "radarr"; key = "{{HOMEPAGE_VAR_RADARR}}"; @@ -206,7 +194,7 @@ in "Bazarr" = { icon = "bazarr"; description = "Vérifie les sous titres des films/séries."; - href = "http://bazarr.sisyphe.normandy.hypervirtual.world"; + href = "http://${ip}:6767"; widget = { type = "bazarr"; key = "{{HOMEPAGE_VAR_BAZARR}}"; @@ -214,25 +202,12 @@ in }; }; } - { - "Bazarr anime" = { - icon = "bazarr"; - description = "Vérifie les sous titres des séries animées."; - href = "http://bazarr-anime.sisyphe.normandy.hypervirtual.world"; - widget = { - type = "bazarr"; - key = "{{HOMEPAGE_VAR_BAZARRANIME}}"; - url = "http://${ip}:6768"; - }; - - }; - } { "Transmission" = { icon = "transmission"; description = "s'occupe du téléchargement des fichiers"; - href = "http://transmission.sisyphe.normandy.hypervirtual.world"; + href = "http://${ip}:9091"; widget = { type = "transmission"; url = "http://${ip}:9091"; @@ -302,7 +277,7 @@ in "Grafana" = { icon = "grafana"; description = "Visualiseur de graphiques"; - href = "http://grafana.sisyphe.normandy.hypervirtual.world"; + href = "http://${ip}:3001"; }; } { @@ -316,7 +291,7 @@ in "Uptime Kuma" = { icon = "uptime-kuma"; description = "Surveille l'état des différents services"; - href = "http://uptime.sisyphe.normandy.hypervirtual.world"; + href = "http://${ip}:4001"; }; } {