dotfiles.nix/nixos/lavender/containers/homepage.nix

15 lines
291 B
Nix
Raw Normal View History

2023-05-16 14:08:07 +08:00
{ ... }:
{
# Homepage
virtualisation.oci-containers.containers."homepage" = {
autoStart = true;
image = "ghcr.io/benphelps/homepage:latest";
volumes = [
"/srv/containers/homepage:/app/config"
2023-05-21 17:41:24 +08:00
"/srv/media:/srv/media:ro"
2023-05-16 14:08:07 +08:00
];
ports = [ "3000:3000" ];
};
}