fix git
This commit is contained in:
parent
5eb540281d
commit
79fc241881
2 changed files with 20 additions and 9 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue