This commit is contained in:
Lucy Hochkamp 2024-08-30 19:33:39 +02:00
parent 279570c40b
commit eb9cd960e5
No known key found for this signature in database
10 changed files with 388 additions and 97 deletions

View file

@ -140,4 +140,19 @@ in
};
};
# changedetection
systemd.services."podman-cd-network" = {
script = ''
${pkgs.podman}/bin/podman network exists cd-net || ${pkgs.podman}/bin/podman network create cd-net --internal --ipv6
'';
};
virtualisation.oci-containers.containers.changedetection = {
image = "dgtlmoon/changedetection.io";
extraOptions = [ "--network=podman" "--network=cd-net" ];
volumes = [
"changedetection-data:/datastore"
];
};
}

View file

@ -154,6 +154,14 @@ in
}
}
}
@cd host cd.hailsatan.eu
handle @cd {
reverse_proxy http://changedetection:5000 {
transport http {
resolvers 10.88.0.1 # podman dns
}
}
}
@bzzt-api host bzzt-api.hailsatan.eu
handle @bzzt-api {
reverse_proxy http://127.0.0.1:5001