Skip to content

Commit

Permalink
imp: expose to the public
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed May 13, 2022
1 parent 1291c97 commit c616a8b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nix/cardano/nomadJob/srv-node.nix
Expand Up @@ -28,4 +28,12 @@
];
name = "${namespace}-node";
port = "node";
tags = [
"\${NOMAD_ALLOC_ID}"
"${namespace}"
"ingress"
"traefik.enable=true"
"traefik.tcp.routers.${namespace}-node.rule=HostSNI(`*`)"
"traefik.tcp.routers.${namespace}-node.entrypoints=${namespace}-node-tcp"
];
}
16 changes: 16 additions & 0 deletions nix/metal/bitteProfile.nix
Expand Up @@ -174,6 +174,22 @@ in {
services.traefik.acmeDnsCertMgr = false;
services.traefik.useVaultBackend = true;
services.traefik.useDockerRegistry = false;
services.traefik.staticConfigOptions = {
entryPoints =
lib.pipe {
vasil-qa = 30000;
} [
(
lib.mapAttrsToList (
namespace: port: {
name = "${namespace}-node-tcp";
value.address = ":${toString port}";
}
)
)
lib.listToAttrs
];
};
}
];
};
Expand Down

0 comments on commit c616a8b

Please sign in to comment.