forked from golemfactory/yagna
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env-template
102 lines (77 loc) · 3.38 KB
/
.env-template
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Log level.
# Default is info, but if you want to debug this is a magic setup, to skip payment driver overwhelming logs
#RUST_LOG=debug,tokio_core=info,tokio_reactor=info,hyper=info,reqwest=info
# Application working directory path.
YAGNA_DATADIR="."
## Golem Service Bus (GSB)
# Host and port where the internal Service Bus (aka GSB) will be bound.
#GSB_URL=tcp://127.0.0.1:7464
# number of seconds between GSB heartbeats
#GSB_PING_TIMEOUT=60
## REST API
# Default HOST:PORT for all REST APIs.
#YAGNA_API_URL=http://127.0.0.1:7465
# Specific API URLs
# (default values are derived from YAGNA_API_URL)
#YAGNA_MARKET_URL=http://127.0.0.1:7465/market-api/v1/
#YAGNA_ACTIVITY_URL=http://127.0.0.1:7465/activity-api/v1/
#YAGNA_PAYMENT_URL=http://127.0.0.1:7465/payment-api/v1/
# Central Net Mk1 hub.
#CENTRAL_NET_HOST=3.249.139.167:7464
# Decentralized Market
# Grace time (in days) for cleaning up agreements in DB
#YAGNA_MARKET_AGREEMENT_STORE_DAYS=90
# Grace time (in days) for cleaning up events in DB
#YAGNA_MARKET_EVENT_STORE_DAYS=1
## Payments Service
#ACCOUNT_LIST="${YAGNA_DATADIR}/accounts.json"
#PAYMENT_SHUTDOWN_TIMEOUT_SECS=10
## All drivers
#RINKEBY_GETH_ADDR=http://1.geth.testnet.golem.network:55555
#MAINNET_GETH_ADDR=https://geth.golem.network:55555
## ERC20 driver.
#ETH_FAUCET_ADDRESS=http://faucet.testnet.golem.network:4000/donate
#ERC20_RINKEBY_REQUIRED_CONFIRMATIONS=3
#ERC20_MAINNET_REQUIRED_CONFIRMATIONS=5
#RINKEBY_TGLM_CONTRACT_ADDRESS=0xd94e3DC39d4Cad1DAd634e7eb585A57A19dC7EFE
#RINKEBY_TGLM_FAUCET_ADDRESS=0x59259943616265A03d775145a2eC371732E2B06C
#MAINNET_GLM_CONTRACT_ADDRESS=0x7DD9c5Cba05E151C895FDe1CF355C9A1D5DA6429
#ERC20_SENDOUT_INTERVAL_SECS=10
#ERC20_CONFIRMATION_INTERVAL_SECS=5
## ZkSync driver
#ZKSYNC_RINKEBY_RPC_ADDRESS=https://rinkeby-api.zksync.io/jsrpc
#ZKSYNC_MAINNET_RPC_ADDRESS=https://api.zksync.io/jsrpc
#ZKSYNC_ETH_CONFIRMATION_TIMEOUT_SECONDS=60
#ZKSYNC_FAUCET_ADDR=
#ZKSYNC_SENDOUT_INTERVAL_SECS=10
#ZKSYNC_CONFIRMATION_INTERVAL_SECS=5
# ZkSync driver asserts additional funds available to make `N` transactions
#TRANSACTIONS_PER_ALLOCATION=10
# However if transaction's fee gets higher, it does not exceed max surcharge for allocation (in GLM)
#MAX_ALLOCATION_SURCHARGE=200
## Activity Service
# Threshold of inactivity period in seconds.
# If activity state nor usage was not reported for more than that, ActivityDestroy event is send.
# Minimum is 2s.
#INACTIVITY_LIMIT_SECONDS=10
# If activity state nor usage was not reported for more than that, Activity is marked as Unresponsive.
# Minimum is 2s.
#UNRESPONSIVE_LIMIT_SECONDS=5
# Grace period for killing exe-unit ie. delay between SIGTERM and SIGKILL is send.
# Minimum is 1s.
#PROCESS_KILL_TIMEOUT_SECONDS=5
## Metrics Service
# The URL where the Yagna Metrics will be pushed periodically
# Metrics can be also pulled via `curl "${YAGNA_API_URL}/metrics-api/v1/expose"`
#YAGNA_METRICS_URL = "http://metrics.golem.network:9091/"
## Agents
# Descriptor file (JSON) for available ExeUnits.
EXE_UNIT_PATH=../exe-unit/resources/local-debug-exeunits-descriptor.json
# Subnetwork identifier. You can set this value to filter nodes
# with other identifiers than selected. Useful for test purposes.
# Can be any arbitrary string, not only a number.
#SUBNET=testnet
# Your human readable identity in the network.
NODE_NAME=__YOUR_NODE_NAME_GOES_HERE__
# Yagna service REST API application key token.
YAGNA_APPKEY=__GENERATED_APP_KEY__