chore: add .env.example files for blockchain-node and coordinator-api
This commit is contained in:
9
apps/blockchain-node/.env.example
Normal file
9
apps/blockchain-node/.env.example
Normal file
@@ -0,0 +1,9 @@
|
||||
CHAIN_ID=ait-devnet
|
||||
DB_PATH=./data/chain.db
|
||||
RPC_BIND_HOST=127.0.0.1
|
||||
RPC_BIND_PORT=8080
|
||||
P2P_BIND_HOST=0.0.0.0
|
||||
P2P_BIND_PORT=7070
|
||||
PROPOSER_KEY=change_me
|
||||
MINT_PER_UNIT=1000
|
||||
COORDINATOR_RATIO=0.05
|
||||
14
apps/coordinator-api/.env.example
Normal file
14
apps/coordinator-api/.env.example
Normal file
@@ -0,0 +1,14 @@
|
||||
APP_ENV=dev
|
||||
APP_HOST=127.0.0.1
|
||||
APP_PORT=8011
|
||||
DATABASE_URL=sqlite:///./coordinator.db
|
||||
CLIENT_API_KEYS=REDACTED_CLIENT_KEY,client_dev_key_2
|
||||
MINER_API_KEYS=REDACTED_MINER_KEY,miner_dev_key_2
|
||||
ADMIN_API_KEYS=REDACTED_ADMIN_KEY
|
||||
HMAC_SECRET=change_me
|
||||
ALLOW_ORIGINS=*
|
||||
JOB_TTL_SECONDS=900
|
||||
HEARTBEAT_INTERVAL_SECONDS=10
|
||||
HEARTBEAT_TIMEOUT_SECONDS=30
|
||||
RATE_LIMIT_REQUESTS=60
|
||||
RATE_LIMIT_WINDOW_SECONDS=60
|
||||
Reference in New Issue
Block a user