This commit is contained in:
CDaut 2025-11-15 23:59:44 +01:00
parent 5eb540281d
commit 79fc241881
Signed by: clara
GPG key ID: 223391B52FAD4463
2 changed files with 20 additions and 9 deletions

View file

@ -1,18 +1,22 @@
{ lib, pkgs, config, ... }: { { lib, pkgs, config, ... }: {
deployment = { deployment = {
targetHost = "192.168.178.37"; targetHost = "10.0.0.6";
targetPort = 22; targetPort = 22;
targetUser = "root"; targetUser = "root";
tags = [ "cube" ]; tags = [ "netcup_pve" ];
};
networking = {
hostName = "forgejo";
interfaces.eth0 = {
ipAddress = "10.0.0.6";
prefixLength = 32;
};
defaultGateway = {
address = "10.0.0.254";
interface = "eth0";
};
}; };
networking.hostName = "forgejo";
networking.interfaces.wgbr.ipv4.addresses = [
{
address = "10.8.1.4";
prefixLength = 24;
}
];
imports = [ imports = [
../../container_config.nix ../../container_config.nix
../../services/forgejo.nix ../../services/forgejo.nix

View file

@ -34,6 +34,13 @@
proxyPass = "http://10.0.0.5:3456"; proxyPass = "http://10.0.0.5:3456";
}; };
}; };
"new.git.cdaut.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://10.0.0.6:3000";
};
};
}; };
}; };