summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-07 02:06:36 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-07 02:06:36 +0200
commit856c6b25b9319d4562bd50c36377f4a3ef168283 (patch)
tree8defdfecb0a943ccc9bc6d75e5c53fe686607d2c
parentnginx quic! (diff)
downloadRory-Open-Architecture-856c6b25b9319d4562bd50c36377f4a3ef168283.tar.xz
Add container ip address
-rwxr-xr-xhost/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix47
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