Files
allmende/k8s/base/config.env
T

25 lines
1.3 KiB
Bash

# The public name of this node: a DNS name (A record, or a dynamic-DNS name)
# that points at your router's public IP. Nodes behind a router do not know
# their own public address, so the node announces this name instead.
PUBLIC_HOST=bootstrap.allmende.stinnesbeck.com
# The port your router forwards to the cluster, as seen from the internet
# (TCP and UDP). Keep it 4001 unless the router cannot forward it.
PUBLIC_PORT=4001
# The regions this node keeps listings for: a place name or a 3-character
# geohash, several separated by commas (REGION=mechernich or REGION=u1h,u0u).
# Empty (the default) follows none: it then only helps others connect.
# It is the starting value: once the owner chooses regions in the browser, those
# are kept on the volume and win over this (delete /data/regions.json to use
# this again). Changing this file restarts the pod, because the ConfigMap name
# changes with its content.
REGION=
# The proof-of-work (leading zero bits) this node requires of listings, reports
# and revocations. It must equal the network's: a node refuses what carries
# less than its own value, so a node at 24 and one at 16 exchange no listings.
# The default of the binary is 24; it is written here so it is visible, and so
# a later change of the network's value is one edit in one place.
DIFFICULTY=24