convert containers to docker

This commit is contained in:
♥ Minnie ♥ 2023-07-27 20:13:14 +08:00
parent a08107008f
commit 06777a0087
12 changed files with 5 additions and 11 deletions

View file

@ -148,7 +148,7 @@
# Define a user account. Don't forget to set a password with passwd.
users.users.admin = {
isNormalUser = true;
extraGroups = [ "networkmanager" "wheel" "podman" ];
extraGroups = [ "networkmanager" "wheel" "docker" ];
shell = pkgs.zsh;
openssh.authorizedKeys.keyFiles = [ ../fuchsia/id_ed25519_sk.pub ];
};

View file

@ -1,6 +1,7 @@
{ ... }:
{
# Import our containers.
imports = [
./homepage
./pihole
@ -13,4 +14,7 @@
./minecraft
./traefik
];
# Set docker as container implementation.
virtualisation.oci-containers.backend = "docker";
}

View file

@ -10,6 +10,5 @@
"/srv/data:/srv/data:ro"
];
ports = [ "3000:3000" ];
extraOptions = [ "--pull=newer" ];
};
}

View file

@ -12,6 +12,5 @@
environment = {
MEMORYSIZE = "1G";
};
extraOptions = [ "--pull=newer" ];
};
}

View file

@ -19,7 +19,6 @@
WEBPASSWORD_FILE = "/secrets/admin-password";
DNSMASQ_LISTENING = "all";
};
extraOptions = [ "--pull=newer" ];
};
}

View file

@ -10,6 +10,5 @@
"/srv/data/media:/data/media:ro"
];
ports = [ "32400:32400" ];
extraOptions = [ "--pull=newer" ];
};
}

View file

@ -10,6 +10,5 @@
"/srv/data:/data"
];
ports = [ "9696:9696" ];
extraOptions = [ "--pull=newer" ];
};
}

View file

@ -13,6 +13,5 @@
"8383:8080"
"32372:32372"
];
extraOptions = [ "--pull=newer" ];
};
}

View file

@ -10,6 +10,5 @@
"/srv/data:/data"
];
ports = [ "7878:7878" ];
extraOptions = [ "--pull=newer" ];
};
}

View file

@ -8,6 +8,5 @@
volumes = [
"/srv/containers/recyclarr:/config"
];
extraOptions = [ "--pull=newer" ];
};
}

View file

@ -10,6 +10,5 @@
"/srv/data:/data"
];
ports = [ "8989:8989" ];
extraOptions = [ "--pull=newer" ];
};
}

View file

@ -20,6 +20,5 @@
CF_API_EMAIL_FILE = "/secrets/cf-api-email";
CF_API_KEY_FILE = "/secrets/cf-api-key";
};
extraOptions = [ "--pull=newer" ];
};
}