Add container ip address
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
|