Arion: Publically expose navidrome

This commit is contained in:
GHOSCHT 2024-08-09 15:17:23 +02:00
parent e91191eacd
commit b5b149474b
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -50,11 +50,22 @@
container_name = "navidrome"; container_name = "navidrome";
labels = { labels = {
"traefik.enable" = "true"; "traefik.enable" = "true";
"traefik.http.routers.navidrome.entrypoints" = "websecure"; "traefik.docker.network" = "dmz";
"traefik.http.routers.navidrome.rule" = "Host(`navidrome.ghoscht.com`)";
"traefik.http.services.navidrome.loadbalancer.server.port" = "4533"; "traefik.http.services.navidrome.loadbalancer.server.port" = "4533";
"traefik.http.routers.navidrome.service" = "navidrome";
"traefik.http.routers.navidrome.entrypoints" = "websecure";
"traefik.http.routers.navidrome.rule" = "Host(`music.ghoscht.com`)";
"traefik.http.routers.navidrome.tls" = "true"; "traefik.http.routers.navidrome.tls" = "true";
"traefik.http.routers.navidrome.tls.certresolver" = "letsencrypt"; "traefik.http.routers.navidrome.tls.certresolver" = "letsencrypt";
"traefik.http.services.navidrome-external.loadbalancer.server.port" = "4533";
"traefik.http.routers.navidrome-external.service" = "navidrome-external";
"traefik.http.routers.navidrome-external.rule" = "Host(`music.ghoscht.com`)";
"traefik.http.routers.navidrome-external.entrypoints" = "websecure-external";
"traefik.http.routers.navidrome-external.tls" = "true";
"traefik.http.routers.navidrome-external.tls.certresolver" = "letsencrypt";
}; };
volumes = [ volumes = [
"/storage/dataset/docker/media/navidrome_data:/data" "/storage/dataset/docker/media/navidrome_data:/data"