This commit is contained in:
parent
f38abd1320
commit
f849d99dcc
1 changed files with 6 additions and 1 deletions
|
@ -31,7 +31,10 @@
|
|||
# following configuration is added only when building VM with build-vm
|
||||
virtualisation = {
|
||||
memorySize = 8192; # Use 8192MiB memory.
|
||||
cores = 8;
|
||||
cores = 8;
|
||||
forwardPorts = [
|
||||
{ from = "host"; host.port = 8888; guest.port = 80; }
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -63,4 +66,6 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 ]; # Opens port 80 for HTTP traffic.
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue