update container configurations

This commit is contained in:
♥ Minnie ♥ 2023-05-21 17:41:24 +08:00
parent 2cdee3871f
commit b8acc1570a
9 changed files with 65 additions and 9 deletions

View 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" ];
};
}