Clean up podman networks
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -48,7 +48,7 @@ in
|
||||
};
|
||||
|
||||
virtualisation.quadlet = {
|
||||
networks.authelia = { };
|
||||
networks.authelia.networkConfig.internal = true;
|
||||
|
||||
volumes."authelia-redis" = { };
|
||||
|
||||
|
@@ -102,13 +102,18 @@ in
|
||||
};
|
||||
|
||||
virtualisation.quadlet = {
|
||||
networks.ntfy.networkConfig.internal = true;
|
||||
|
||||
volumes.ntfy = { };
|
||||
|
||||
containers.ntfy = {
|
||||
containerConfig = {
|
||||
autoUpdate = "registry";
|
||||
image = "docker.io/binwiederhier/ntfy:latest";
|
||||
networks = [ networks.traefik.ref ];
|
||||
networks = [
|
||||
networks.ntfy.ref
|
||||
networks.traefik.ref
|
||||
];
|
||||
volumes = [
|
||||
"${volumes.ntfy.ref}:/var/lib/ntfy"
|
||||
"${hmConfig.sops.templates."ntfy-server.yml".path}:/etc/ntfy/server.yml:ro"
|
||||
|
@@ -24,11 +24,7 @@ in
|
||||
};
|
||||
|
||||
virtualisation.quadlet = {
|
||||
networks.traefik.networkConfig = {
|
||||
internal = true;
|
||||
subnets = [ "10.89.0.0/16" ];
|
||||
gateways = [ "10.89.0.1" ];
|
||||
};
|
||||
networks.traefik = { };
|
||||
|
||||
volumes.letsencrypt.volumeConfig = { };
|
||||
|
||||
|
@@ -8,15 +8,22 @@ let
|
||||
inherit (hmConfig.virtualisation.quadlet) networks;
|
||||
in
|
||||
{
|
||||
home-manager.users.${user}.virtualisation.quadlet.containers.whoami.containerConfig = {
|
||||
autoUpdate = "registry";
|
||||
image = "docker.io/traefik/whoami:latest";
|
||||
networks = [ networks.traefik.ref ];
|
||||
labels = [
|
||||
"traefik.enable=true"
|
||||
"traefik.http.routers.whoami.rule=Host(`whoami.karaolidis.com`)"
|
||||
"traefik.http.routers.whoami.entrypoints=websecure"
|
||||
"traefik.http.routers.whoami.tls.certresolver=letsencrypt"
|
||||
];
|
||||
home-manager.users.${user}.virtualisation.quadlet = {
|
||||
networks.whoami.networkConfig.internal = true;
|
||||
|
||||
containers.whoami.containerConfig = {
|
||||
autoUpdate = "registry";
|
||||
image = "docker.io/traefik/whoami:latest";
|
||||
networks = [
|
||||
networks.whoami.ref
|
||||
networks.traefik.ref
|
||||
];
|
||||
labels = [
|
||||
"traefik.enable=true"
|
||||
"traefik.http.routers.whoami.rule=Host(`whoami.karaolidis.com`)"
|
||||
"traefik.http.routers.whoami.entrypoints=websecure"
|
||||
"traefik.http.routers.whoami.tls.certresolver=letsencrypt"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user