Clean up podman networks
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -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