Update readme for env variables
This commit is contained in:
parent
2309c26aea
commit
c90c77c83e
@ -67,32 +67,9 @@ Inside deployment directory, open the `config.env` file and set following env va
|
||||
CERC_LOTUS_SNAPSHOT_PATH=/path-to-file/calibnet-snapshot.car.zst
|
||||
```
|
||||
|
||||
- Some other config values that can be set
|
||||
```bash
|
||||
# Enables the Actor events API that enables clients to consume events
|
||||
# https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/documentation/en/default-lotus-config.toml#L279
|
||||
CERC_LOTUS_EVENTS_ENABLEACTOREVENTSAPI=true
|
||||
|
||||
# Enables indexing of messages on chain
|
||||
# https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/documentation/en/default-lotus-config.toml#L325
|
||||
CERC_LOTUS_INDEX_ENABLEMSGINDEX=true
|
||||
|
||||
# Enable the splitstore
|
||||
# https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/blockstore/splitstore#splitstore-an-actively-scalable-blockstore-for-the-filecoin-chain
|
||||
CERC_LOTUS_CHAINSTORE_ENABLESPLITSTORE=true
|
||||
|
||||
# Delete mappings that have been stored for more than x day in transaction hash lookup database
|
||||
# https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/documentation/en/default-lotus-config.toml#L255
|
||||
CERC_LOTUS_FEVM_ETHTXHASHMAPPINGLIFETIMEDAYS=0
|
||||
|
||||
# Adjust the amount of threads used for more concurrent FMV execution
|
||||
# Recommended formula for concurrency == YOUR_RAM/4
|
||||
# https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/CHANGELOG.md?display=source#L1179
|
||||
CERC_LOTUS_FVM_CONCURRENCY=4
|
||||
|
||||
# If node is a Storage Provider and are pushing many messages within a short period of time, then set to 1
|
||||
CERC_LOTUS_SKIP_APPLY_TS_MESSAGE_CALL_WITH_GAS=0
|
||||
```
|
||||
- Environment variables for Lotus node can be configured by setting them in `config.env` inside deployment directory
|
||||
- Check [compose file](../../compose/docker-compose-lotus-node.yml) for configured environment variables
|
||||
- Refer to [default Lotus config](https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/documentation/en/default-lotus-config.toml)
|
||||
|
||||
## Start the container
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user