Add Wavelog onto Traefik

This commit is contained in:
Root User 2026-02-07 00:00:54 +01:00
parent ede2d7a3a3
commit d536b55061
Signed by: root
GPG key ID: 087F0A95E5766D72
3 changed files with 44 additions and 27 deletions

View file

@ -1,8 +1,10 @@
# Auto-generated by compose2nix.
{ pkgs, lib, config, ... }:
{
pkgs,
lib,
config,
...
}: {
# Runtime
virtualisation.podman = {
enable = true;
@ -12,7 +14,10 @@
# Enable container name DNS for all Podman networks.
networking.firewall.interfaces = let
matchAll = if !config.networking.nftables.enable then "podman+" else "podman*";
matchAll =
if !config.networking.nftables.enable
then "podman+"
else "podman*";
in {
"${matchAll}".allowedUDPPorts = [53];
};

View file

@ -90,6 +90,13 @@
entryPoints = ["websecure"];
tls = {};
};
wavelog = {
rule = "Host(`wavelog.prg-radio.org`)";
service = "wavelog";
entryPoints = ["websecure"];
tls = {};
};
};
http.services = {
forgejo.loadBalancer = {
@ -97,6 +104,11 @@
{url = "http://10.1.1.4:3000";}
];
};
wavelog.loadBalancer = {
servers = [
{url = "http://10.1.1.249:8086";}
];
};
};
};
};