1

Add homepage service

This commit is contained in:
2023-09-01 11:38:55 +02:00
parent 38a1771b7e
commit 484c7b4254

View File

@ -0,0 +1,25 @@
{config, lib, pkgs, ...}:
{
virtualisation.oci-containers.containers.homepage = {
image = "ghcr.io/benphelps/homepage:latest";
autoStart = true;
dependsOn = [];
ports = [
"3000:3000"
];
volumes = [
"homepage_config:/app/config"
"/var/run/docker.sock:/var/run/docker.sock:ro"
];
environment = {};
extraOptions = [
# "--restart=always" # Conflicts with NixOS' default of using --rm
];
};
}