-
Notifications
You must be signed in to change notification settings - Fork 7
/
.env.miner.example
51 lines (41 loc) · 1.24 KB
/
.env.miner.example
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
DOJO_API_BASE_URL=
DOJO_API_KEY=
WALLET_COLDKEY=
WALLET_HOTKEY=
AXON_PORT=
# Mainnet related config
NETUID=52
# Edit below to connect to your preferred subtensor node
SUBTENSOR_NETWORK=finney
SUBTENSOR_ENDPOINT=wss://entrypoint-finney.opentensor.ai:443
# If using the provided local subtensor
# SUBTENSOR_ENDPOINT=ws://mainnet-lite:9944
# Uncomment below to connect to testnet
# NETUID=98
# SUBTENSOR_NETWORK=test
# SUBTENSOR_ENDPOINT=ws://testnet-lite:9944
# VALIDATOR_MIN_STAKE=20000
# Task related config
# this a maximum of 4 workers may submit responses for a single task
TASK_MAX_RESULTS=4
# ---------------------------------------------------------------------------- #
# DECENTRALIZED ONLY ENV VARS #
# ---------------------------------------------------------------------------- #
# for dojo-ui
NEXT_PUBLIC_BACKEND_URL=http://localhost:3000
# for dojo-worker-api
REDIS_USERNAME=
REDIS_PASSWORD=
DB_HOST=postgres-miner:5432
DB_NAME=db
DB_USERNAME=
DB_PASSWORD=
DATABASE_URL=postgresql://${DB_USERNAME}:${DB_PASSWORD}@${DB_HOST}/${DB_NAME}
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_S3_BUCKET_NAME=
S3_PUBLIC_URL=
# random jwt secret
JWT_SECRET=
# e.g. infura, alchemy API url for ethereum
ETHEREUM_NODE=