update container configurations
This commit is contained in:
parent
2cdee3871f
commit
b8acc1570a
9 changed files with 65 additions and 9 deletions
13
nixos/lavender/containers/nginx.nix
Normal file
13
nixos/lavender/containers/nginx.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