-
Notifications
You must be signed in to change notification settings - Fork 1
/
assembly-multinode.yml
87 lines (87 loc) · 2.94 KB
/
assembly-multinode.yml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
explorerUrl: http://localhost:90
faucetUrl: http://localhost:100
databases:
- repeat: 1
name: 'db-{{$index}}'
openPort: '{{add $index 27017}}'
nodes:
- repeat: 2
harvesting: true
voting: true
api: false
name: 'peer-node-{{$index}}'
friendlyName: 'peer-node-{{$index}}'
host: 'peer-node-{{$index}}'
openPort: '{{add $index 7900}}'
- repeat: 1
harvesting: false
api: true
friendlyName: 'api-node-{{$index}}'
name: 'api-node-{{$index}}'
host: 'api-node-{{$index}}'
brokerName: 'api-node-broker-{{$index}}'
brokerOpenPort: '{{add $index 8002}}'
databaseHost: 'db-{{$index}}'
trustedHosts: '127.0.0.1, 172.20.0.{{add $index 25}}'
localNetworks: '127.0.0.1, 172.20.0.{{add $index 25}}'
gateways:
- repeat: 1
apiNodeName: 'api-node-{{$index}}'
apiNodeHost: 'api-node-{{$index}}'
apiNodeBrokerHost: 'api-node-broker-{{$index}}'
name: 'rest-gateway-{{$index}}'
databaseHost: 'db-{{$index}}'
openPort: '{{add $index 3000}}'
ipv4_address: '172.20.0.{{add $index 25}}'
explorers:
- repeat: 0
name: 'explorer-{{$index}}'
defaultNode: 'http://localhost:{{add $index 3000}}'
namespaceName: '{{baseNamespace}}.{{currencyName}}'
openPort: '{{add $index 90}}'
restNodes:
- 'http://localhost:{{add $index 3000}}'
footer:
link:
- href: https://nemflash.io/
text: NEM News
icon: IconNewspaper
- href: https://forum.nem.io/
text: Forum
icon: IconForum
- href: https://t.me/nemred
text: Telegram
icon: IconTelegram
- href: https://www.reddit.com/r/nem/
text: Reddit
icon: IconReddit
- href: https://github.com/nemtech
text: Github
icon: IconGithub
- href: http://localhost:100/
text: Faucet
icon: IconHomeCurrencyUsd
faucets:
- repeat: 0
name: 'faucet-{{$index}}'
gateway: 'rest-gateway-{{$index}}'
compose:
environment:
DEFAULT_NODE: 'http://rest-gateway-{{$index}}:{{add $index 3000}}'
DEFAULT_NODE_CLIENT: 'http://localhost:{{add $index 3000}}'
NATIVE_CURRENCY_OUT_MAX: 500000000
NATIVE_CURRENCY_OUT_MIN: 100000000
MAX_FEE: 5000000
ENOUGH_BALANCE: 100000000000
MAX_UNCONFIRMED: 99
BLACKLIST_MOSAIC_IDS: '[]'
EXPLORER_URL: 'http://localhost:{{add $index 90}}/'
openPort: '{{add $index 100}}'
httpsProxies:
- name: 'https-proxy'
excludeDockerService: true #disabled as default
openPort: 3001
#domains: 'symbol-node.example.com -> http://rest-gateway:3000'
stage: 'production'
webSocket: 'true'
serverNamesHashBucketSize: 128