more hosts in nginx
This commit is contained in:
parent
06bfbe85de
commit
d711859f23
8 changed files with 144 additions and 72 deletions
|
|
@ -1,25 +1,24 @@
|
|||
{ lib, pkgs, config, ... }: {
|
||||
|
||||
deployment = {
|
||||
targetHost = "10.0.0.6";
|
||||
targetHost = "10.10.0.1";
|
||||
targetPort = 22;
|
||||
targetUser = "root";
|
||||
tags = [ "netcup_pve" ];
|
||||
tags = [ "cube" ];
|
||||
};
|
||||
networking = {
|
||||
hostName = "forgejo";
|
||||
hostName = "nginx";
|
||||
interfaces.eth0 = {
|
||||
ipAddress = "10.0.0.6";
|
||||
prefixLength = 32;
|
||||
ipAddress = "10.10.0.1";
|
||||
prefixLength = 16;
|
||||
};
|
||||
defaultGateway = {
|
||||
address = "10.0.0.254";
|
||||
address = "10.10.0.254";
|
||||
interface = "eth0";
|
||||
};
|
||||
};
|
||||
imports = [
|
||||
../../container_config.nix
|
||||
../../services/forgejo.nix
|
||||
../../services/nginx_cube.nix
|
||||
];
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue