Configuration

You are here:
< Back

To operate a node in any Qredit network, you need to provide configuration to it one way or another.

Environment Configuration

Qredit Core allows you to use a .env file to provide a configuration that is environment specific without having to touch the ~/.qredit/config/plugins.js file. The .env file needs to be stored at ~/.qredit/.env.

Variable Plugin Default
CORE_LOG_FILE @arkecosystem/core-logger-winston $CORE_PATH_DATA/logs/core/$QREDIT_DEVNET/%DATE%.log
CORE_DB_STORAGE @arkecosystem/core-database-postgres $CORE_PATH_DATA/database/$QREDIT_DEVNET
CORE_DB_HOST @arkecosystem/core-database-postgres localhost
CORE_DB_USERNAME @arkecosystem/core-database-postgres qredit
CORE_DB_PASSWORD @arkecosystem/core-database-postgres password
CORE_DB_DATABASE @arkecosystem/core-database-postgres qredit_devnet
CORE_P2P_HOST @arkecosystem/core-p2p 0.0.0.0
CORE_P2P_PORT @arkecosystem/core-p2p 4102
CORE_API_HOST @arkecosystem/core-api 0.0.0.0
CORE_API_PORT @arkecosystem/core-api 4103
CORE_WEBHOOKS_HOST @arkecosystem/core-webhooks 0.0.0.0
CORE_WEBHOOKS_PORT @arkecosystem/core-webhooks 4104
CORE_GRAPHQL_HOST @arkecosystem/core-graphql 0.0.0.0
CORE_GRAPHQL_PORT @arkecosystem/core-graphql 4105
CORE_JSONRPC_HOST @arkecosystem/core-json-rpc 0.0.0.0
CORE_JSONRPC_PORT @arkecosystem/core-json-rpc @arkecosystem/core-json-rpc

 

Last Updated On January 25, 2019