arion: Switch to podman
This commit is contained in:
parent
db1c7e94b3
commit
d1e8296bc3
1 changed files with 4 additions and 30 deletions
|
@ -3,18 +3,10 @@
|
||||||
{
|
{
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.arion
|
pkgs.arion
|
||||||
pkgs.docker-client
|
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
docker.enable = false;
|
docker.enable = false;
|
||||||
# docker = {
|
|
||||||
# enable = true;
|
|
||||||
# autoPrune = {
|
|
||||||
# enable = true;
|
|
||||||
# flags = [ "--all" ];
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
|
|
||||||
podman = {
|
podman = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -22,32 +14,14 @@
|
||||||
defaultNetwork.settings.dns_enabled = true;
|
defaultNetwork.settings.dns_enabled = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
oci-containers = {
|
containers.containersConf.cniPlugins = [
|
||||||
backend = "docker";
|
pkgs.cniPlugins.dnsname
|
||||||
|
];
|
||||||
|
|
||||||
# containers.watchtower = {
|
oci-containers.backend = "podman";
|
||||||
# image = "containrrr/watchtower";
|
|
||||||
# environment = {
|
|
||||||
# WATCHTOWER_POLL_INTERVAL = "21600";
|
|
||||||
# WATCHTOWER_LABEL_ENABLE = "true";
|
|
||||||
# WATCHTOWER_NOTIFICATIONS = "shoutrrr";
|
|
||||||
# WATCHTOWER_NOTIFICATIONS_HOSTNAME = config.networking.hostName;
|
|
||||||
# WATCHTOWER_NOTIFICATION_URL = secret.watchtower.ntfyUrl;
|
|
||||||
# };
|
|
||||||
# volumes = [
|
|
||||||
# "/var/run/docker.sock:/var/run/docker.sock"
|
|
||||||
# "/root/.docker/config.json:/config.json:ro"
|
|
||||||
# ];
|
|
||||||
# extraOptions = [
|
|
||||||
# "--label=com.centurylinklabs.watchtower.enable=true"
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
};
|
|
||||||
|
|
||||||
arion = {
|
arion = {
|
||||||
backend = "podman-socket";
|
backend = "podman-socket";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# networking.firewall.interfaces."docker0".allowedTCPPorts = [ 443 ];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue