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

13 lines
286 B
Nix
Raw Normal View History

2024-05-15 09:25:27 +00:00
{
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"];
};
}