diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-07 02:06:36 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-07 02:06:36 +0200 |
commit | 856c6b25b9319d4562bd50c36377f4a3ef168283 (patch) | |
tree | 8defdfecb0a943ccc9bc6d75e5c53fe686607d2c | |
parent | nginx quic! (diff) | |
download | Rory-Open-Architecture-856c6b25b9319d4562bd50c36377f4a3ef168283.tar.xz |
Add container ip address
-rwxr-xr-x | host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix | 47 |
1 files changed, 21 insertions, 26 deletions
diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix index 82203cb..5fb7827 100755 --- a/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix +++ b/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix @@ -1,31 +1,26 @@ { pkgs, lib, conduit, ... }: { -# imports = -# [ -# ./root.nix -# ]; - - privateNetwork = true; - autoStart = true; - specialArgs = { - inherit conduit; - }; - - - config = { lib, pkgs, conduit, ... }: { - imports = [ ./root.nix ]; - environment.etc."resolv.conf".text = '' - nameserver 8.8.8.8 - nameserver 8.4.4.8 - nameserver 1.1.1.1 - nameserver 1.0.0.1 - ''; - networking.firewall = { - enable = true; - allowedTCPPorts = [ 80 443 ]; - }; + privateNetwork = true; + autoStart = true; + specialArgs = { + inherit conduit; + }; + config = { lib, pkgs, conduit, ... }: { + imports = [ ./root.nix ]; + environment.etc."resolv.conf".text = '' + nameserver 8.8.8.8 + nameserver 8.4.4.8 + nameserver 1.1.1.1 + nameserver 1.0.0.1 + ''; + networking.firewall = { + enable = true; + allowedTCPPorts = [ 80 443 ]; }; - - + }; + hostAddress = "192.168.100.10"; + localAddress = "192.168.100.11"; + hostAddress6 = "fc00::1"; + localAddress6 = "fc00::2"; } \ No newline at end of file |