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