Skip to content

Commit

Permalink
more network fix attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
manveru committed Jan 18, 2021
1 parent bca128f commit bbd652b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions jobs/catalyst-dryrun.nix
Expand Up @@ -35,11 +35,11 @@ let
};

networks = [{
# mode = "bridge";
mode = "bridge";
ports = {
prometheus.to = 6000;
rest.to = localRestPort;
rpc.to = localRpcPort;
rest.to = 7000;
rpc.to = 8000;
};
}];

Expand All @@ -65,6 +65,7 @@ let
});

services."${namespace}-${name}-jormungandr" = {
addressMode = "host";
portLabel = "rpc";
task = "jormungandr";
tags = [ name role ] ++ (lib.optional public "ingress");
Expand All @@ -82,19 +83,22 @@ let
};

services."${namespace}-jormungandr" = {
addressMode = "host";
portLabel = "rpc";
task = "jormungandr";
tags = [ name "peer" role ];
};

services."${namespace}-jormungandr-internal" =
lib.mkIf (role != "backup") {
addressMode = "host";
portLabel = "rpc";
task = "jormungandr";
tags = [ name "peer" role ];
};

services."${namespace}-${name}-jormungandr-rest" = {
addressMode = "host";
portLabel = "rest";
task = "jormungandr";
tags = [ name role ];
Expand Down

0 comments on commit bbd652b

Please sign in to comment.