nix-config/hosts/lkk-nix-1/services/containers/nginx.nix

13 lines
286 B
Nix

{
config,
outputs,
...
}: {
virtualisation.oci-containers.containers."http-images" = {
image = "docker.io/nginx:alpine";
ports = ["127.0.0.1:3012:80"];
volumes = ["/opt/service-data/http-images:/usr/share/nginx/html"];
extraOptions = ["--ip=10.88.0.22"];
};
}