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