Added managed subnet and set caddy to static ip

This commit is contained in:
2025-02-16 18:51:42 +00:00
parent 777227eb2f
commit 39b5d4294a
2 changed files with 4 additions and 1 deletions

View File

@@ -13,7 +13,9 @@
autoUpdate.enable = true;
# A network for exposing endpoints to the reverse proxy
networks = {
proxy-net = {};
proxy-net = {
subnet = "192.168.12.0/24";
};
};
};

View File

@@ -12,6 +12,7 @@
image = "docker.io/library/caddy:latest";
autoUpdate = "registry";
network = "proxy-net";
ip4 = "192.168.12.254";
ports = [
"8080:80"
"8443:443"