mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
chore(mediabox): re-add service ports
This commit is contained in:
parent
f1018dfbff
commit
1bae94505d
4 changed files with 53 additions and 10 deletions
|
|
@ -8,7 +8,7 @@
|
|||
inherit (lib.modules) mkIf mkMerge;
|
||||
inherit (lib.attrsets) mapAttrs mapAttrsToList;
|
||||
inherit (lib.strings) removePrefix;
|
||||
inherit (config.services) deluge plex tautulli ombi sonarr radarr bazarr jackett cloudflared;
|
||||
inherit (config.services) deluge plex tautulli ombi sonarr radarr bazarr lidarr readarr prowlarr cloudflared;
|
||||
kyuuto = "/mnt/kyuuto-media";
|
||||
kyuuto-library = kyuuto + "/library";
|
||||
plexLibrary = {
|
||||
|
|
@ -49,20 +49,21 @@ in {
|
|||
|
||||
services.cloudflared = let
|
||||
tunnelId = "6a3c1863-d879-462f-b5d5-7c6ddf476d0e";
|
||||
inherit (config.networking) domain;
|
||||
in {
|
||||
tunnels.${tunnelId} = {
|
||||
default = "http_status:404";
|
||||
credentialsFile = config.sops.secrets.cloudflare_mediabox_tunnel.path;
|
||||
ingress = {
|
||||
"tautulli.gensokyo.zone".service = "http://localhost:${toString config.services.tautulli.port}";
|
||||
"ombi.gensokyo.zone".service = "http://localhost:${toString config.services.ombi.port}";
|
||||
"sonarr.gensokyo.zone".service = "http://localhost:8989";
|
||||
"radarr.gensokyo.zone".service = "http://localhost:7878";
|
||||
"bazarr.gensokyo.zone".service = "http://localhost:6767";
|
||||
"lidarr.gensokyo.zone".service = "http://localhost:8686";
|
||||
"readarr.gensokyo.zone".service = "http://localhost:8787";
|
||||
"prowlarr.gensokyo.zone".service = "http://localhost:9696";
|
||||
"deluge.gensokyo.zone".service = "http://localhost:${toString config.services.deluge.web.port}";
|
||||
"tautulli.${domain}".service = "http://localhost:${toString tautulli.port}";
|
||||
"ombi.${domain}".service = "http://localhost:${toString ombi.port}";
|
||||
"sonarr.${domain}".service = "http://localhost:${toString sonarr.port}";
|
||||
"radarr.${domain}".service = "http://localhost:${toString radarr.port}";
|
||||
"bazarr.${domain}".service = "http://localhost:${toString bazarr.listenPort}";
|
||||
"lidarr.${domain}".service = "http://localhost:${toString lidarr.port}";
|
||||
"readarr.${domain}".service = "http://localhost:${toString readarr.port}";
|
||||
"prowlarr.${domain}".service = "http://localhost:${toString prowlarr.port}";
|
||||
"deluge.${domain}".service = "http://localhost:${toString deluge.web.port}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue