forked from input-output-hk/cardano-ops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
globals-mainnet.nix
53 lines (40 loc) · 1.16 KB
/
globals-mainnet.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
pkgs: {
deploymentName = "mainnet";
dnsZone = "${pkgs.globals.domain}";
domain = "cardano-mainnet.iohk.io";
explorerHostName = "explorer.cardano.org";
explorerForceSSL = true;
explorerAliases = [ "explorer.mainnet.cardano.org" "explorer.${pkgs.globals.domain}" ];
withCardanoDBExtended = true;
withHighCapacityMonitoring = true;
withHighCapacityExplorer = true;
withHighLoadRelays = true;
withSmash = true;
withMetadata = true;
metadataHostName = "tokens.cardano.org";
initialPythonExplorerDBSyncDone = true;
environmentName = "mainnet";
topology = import ./topologies/mainnet.nix pkgs;
maxRulesPerSg = {
IOHK = 61;
Emurgo = 36;
CF = 36;
};
ec2 = {
credentials = {
accessKeyIds = {
IOHK = "mainnet-iohk";
Emurgo = "mainnet-emurgo";
CF = "mainnet-cf";
dns = "mainnet-iohk";
};
};
instances = with pkgs.iohk-ops-lib.physical.aws; {
relay-node = t3-xlarge;
};
};
relayUpdateArgs = "-m 1500 --maxNodes 12 -s -e devops@iohk.io";
# Trigger relay topology refresh 12 hours before next epoch
relayUpdateHoursBeforeNextEpoch = 12;
alertChainDensityLow = "85";
}