Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CARDANO_NODE_RTS_OPTIONS env to docker image
This allows to set Haskell RTS options through the docker image by providing an environment variable on a docker run command. For example: ``` docker run --rm -it -e CARDANO_NODE_RTS_OPTIONS="-N" cardano-node run ``` will start the node with RTS option -N (utilizing all cores): ``` Running the cardano node ... CARDANO_BIND_ADDR=0.0.0.0 CARDANO_BLOCK_PRODUCER=false CARDANO_CONFIG=/opt/cardano/config/mainnet-config.json CARDANO_DATABASE_PATH=/opt/cardano/data CARDANO_LOG_DIR=/opt/cardano/logs CARDANO_PORT=3001 CARDANO_SOCKET_PATH=/opt/cardano/ipc/socket CARDANO_TOPOLOGY=/opt/cardano/config/mainnet-topology.json CARDANO_NODE_RTS_OPTIONS=-N cardano-node run --config /opt/cardano/config/mainnet-config.json --topology /opt/cardano/config/mainnet-topology.json --database-path /opt/cardano/data --socket-path /opt/cardano/ipc/socket --host-addr 0.0.0.0 --port 3001 +RTS -N -RTS ```
- Loading branch information