Allow bizmart sql access

This commit is contained in:
Jonas Juselius
2021-10-06 11:01:47 +02:00
parent d5a0ebc73e
commit a0e109077f
2 changed files with 17 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ let
address = "10.1.30.80";
in {
psql1-0 = { config, pkgs, ... }: with pkgs; {
deployment.tags = [ "db" ];
# deployment.tags = [ "db" ];
deployment.targetHost = address;
system.autoUpgrade.enable = lib.mkForce false;
@@ -44,6 +44,13 @@ in {
};
};
services.prometheus.exporters = {
node = {
enable = true;
openFirewall = true;
};
};
networking = {
hostName = name;
domain = "itpartner.intern";
@@ -82,6 +89,8 @@ in {
host score consto all md5
host mobilenews-provisioner mobilenews 10.1.8.0/24 md5
host mobilenews-provisioner mobilenews 10.1.30.0/24 md5
host all bizmart 10.1.8.0/24 md5
host all bizmart 10.1.30.0/24 md5
'';
};