Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Commit

Permalink
📝 Some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Sethuram committed Aug 28, 2020
1 parent 667c601 commit 2dfbd54
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
29 changes: 29 additions & 0 deletions docs/src/reference/node.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Node

## Configuration

### Environment Variables

The following environment variables are used by the node:

| Variable Name | Type | Description | Example |
| --------------------------------------- | ----------- | ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `INDRA_ADMIN_TOKEN` | String | Token for administrative functions. | cxt1234 |
| `INDRA_CHAIN_PROVIDERS` | JSON String | Mapping of chainId to ethProviderUrl | '{"1":"https://mainnet.infura.io/v3/TOKEN","4":"https://rinkeby.infura.io/v3/TOKEN"}' |
| `INDRA_CONTRACT_ADDRESSES` | JSON String | Contract information, keyed by chainId | '{ "1337": { "ChallengeRegistry": { "address": "0x8CdaF0CD259887258Bc13a92C0a6dA92698644C0", "creationCodeHash": "0x42eba77f58ecb5c1352e9a62df1eed73aa1a89890ff73be1939f884f62d88c46", "runtimeCodeHash": "0xc38bff65185807f2babc2ae1334b0bdcf5fe0192ae041e3033b2084c61f80950", "txHash": "0x89f705aefdffa59061d97488e4507a7af4a4751462e100b8ed3fb1f5cc2238af" }, ...}' |
| `INDRA_DEFAULT_REBALANCE_PROFILE_ETH` | JSON String | Rebalance Profile to use by default | '{"collateralizeThreshold":"500000000000","target":"1500000000000","reclaimThreshold":"10000000000000"}' |
| `INDRA_DEFAULT_REBALANCE_PROFILE_TOKEN` | JSON String | Rebalance Profile to use by default (real units) | '{"collateralizeThreshold":"500000000000","target":"1500000000000","reclaimThreshold":"10000000000000"} |
| `INDRA_LOG_LEVEL` | Number | Log level - 1 = Error, 4 = Debug | 3 |
| `INDRA_MNEMONIC_FILE` |
| `INDRA_NATS_JWT_SIGNER_PRIVATE_KEY` |
| `INDRA_NATS_JWT_SIGNER_PUBLIC_KEY` |
| `INDRA_NATS_SERVERS` |
| `INDRA_NATS_WS_ENDPOINT` |
| `INDRA_PG_DATABASE` |
| `INDRA_PG_HOST` |
| `INDRA_PG_PASSWORD_FILE` |
| `INDRA_PG_PORT` |
| `INDRA_PG_USERNAME` |
| `INDRA_PORT` |
| `INDRA_REDIS_URL` |
| |
1 change: 0 additions & 1 deletion ops/start-indra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ services:
INDRA_DEFAULT_REBALANCE_PROFILE_TOKEN: '$INDRA_DEFAULT_REBALANCE_PROFILE_TOKEN'
INDRA_LOG_LEVEL: '$INDRA_LOG_LEVEL'
INDRA_MNEMONIC_FILE: '$INDRA_MNEMONIC_FILE'
INDRA_MAX_CHANNEL_COLLATERALIZATION: '$INDRA_MAX_CHANNEL_COLLATERALIZATION'
INDRA_NATS_JWT_SIGNER_PRIVATE_KEY: '$INDRA_NATS_JWT_SIGNER_PRIVATE_KEY'
INDRA_NATS_JWT_SIGNER_PUBLIC_KEY: '$INDRA_NATS_JWT_SIGNER_PUBLIC_KEY'
INDRA_NATS_SERVERS: 'nats://nats:$nats_port'
Expand Down

0 comments on commit 2dfbd54

Please sign in to comment.