mrow
This commit is contained in:
parent
279570c40b
commit
eb9cd960e5
10 changed files with 388 additions and 97 deletions
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue