restructure container directory
This commit is contained in:
parent
4527811bea
commit
7b9ac7400c
11 changed files with 28 additions and 23 deletions
13
nixos/lavender/containers/nginx/default.nix
Normal file
13
nixos/lavender/containers/nginx/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
# Nginx
|
||||
virtualisation.oci-containers.containers."nginx" = {
|
||||
autoStart = true;
|
||||
image = "nginx";
|
||||
volumes = [
|
||||
"/srv/containers/nginx:/usr/share/nginx/html"
|
||||
];
|
||||
ports = [ "8282:80" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue