restructure container directory
This commit is contained in:
parent
4527811bea
commit
7b9ac7400c
11 changed files with 28 additions and 23 deletions
14
nixos/lavender/containers/homepage/default.nix
Normal file
14
nixos/lavender/containers/homepage/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
# Homepage
|
||||
virtualisation.oci-containers.containers."homepage" = {
|
||||
autoStart = true;
|
||||
image = "ghcr.io/benphelps/homepage:latest";
|
||||
volumes = [
|
||||
"/srv/containers/homepage:/app/config"
|
||||
"/srv/media:/srv/media:ro"
|
||||
];
|
||||
ports = [ "3000:3000" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue