Object containing the following properties:
| Property | Description | Type | Default |
|---|---|---|---|
EXCLUDED_NODES |
NodeRed nodes that are going to be excluded from SmartFlows. If any node type of the SmartFlow equals to one of the EXCLUDED_NODES it will prevent SmartFlow from being installed. | string |
'file,file in,watch,exec' |
TARGET_SOLUTION_NAMESPACES |
If set it will only install solutions that namespaces are specified in this env. variable. Comma-separated. | string |
|
RETRY_WORKER_CHECKS |
If it's enabled it will indefinitely await for worker to pass all checks otherwise it will kill process. Useful e.g if worker account is not yet assigned to operator at the moment of configuration. | boolean (nullable) |
true |
ENABLE_HEALTH_API |
If it's enabled it will enable health check routes. | boolean (nullable) |
true |
PALLET_RPC_URL |
Read EWX Parachain URL. If provided, it will overwrite value provided from BASE_URLS. | string (url) |
|
VOTING_RPC_URL (*) |
Write EWX Parachain URL | string (url) |
|
VOTING_WORKER_SEED (*) |
Seed of the worker (not operator) | string |
|
PORT |
Port number of NodeRed Server. | number (>0) |
8000 |
HOST |
Hostname of NodeRed Server. | string |
'localhost' |
RED_ENABLE_UI |
Should enable NodeRed UI. | 'true' | 'false' |
'false' |
RED_DIRECTORY |
Storage of NodeRed flows. | string |
'./node-red-data' |
SQLITE_BASE_PATH |
Base SQLite path. | string |
'./sqlite' |
IPFS_API_KEY |
IPFS API Key | string (nullable) |
null |
IPFS_SECRET_KEY |
IPFS Secret Key | string (nullable) |
null |
IPFS_URL |
IPFS BASE Url | string |
'https://workers-registry.energywebx.com' |
IPFS_CONTEXT_PATH |
IPFS Context Path | string |
'/ipfs/' |
IPFS_USER_AGENT_VALUE |
Default user agent that is going to be used for public IPFS queries. | string |
'ewx-worker-node-server' |
SOLUTION_QUEUE_PROCESS_DELAY |
How often should refresh EWX Solutions information from chain (in miliseconds). | number (nullable) |
20000 |
LOCAL_SOLUTIONS_PATH |
Path to locally hosted NodeRed solution flow files to be used when installing solutions using "local" prefix within WorkLogic field. | string |
|
SS58_FORMAT |
SS58 Key Format. | number (>0) |
42 |
PRETTY_PRINT |
Should pretty print logs. If you plan to use Grafana or any other log tooling it's recommended to set it to false. | 'true' | 'false' |
'false' |
LOG_FILE_PATH |
Full path to log file (e.g., /var/log/app.log or ./logs/app.log). If not provided, file logging is disabled. | string |
|
LOG_RETENTION_DAYS |
Number of days to keep rotated logs | number (>0) |
|
HEARTBEAT_PATH |
Path to the heartbeat file used for monitoring. | string |
'heartbeat_monitor.txt' |
HEARTBEAT_INTERVAL |
Interval (in ms) at which the heartbeat process updates the file. | number (>0) |
5000 |
HEARTBEAT_PRINT_SUCCESS_LOG |
Should print successful logs. | 'true' | 'false' |
'true' |
PALLET_AUTH_SERVER_LOGIN_URL |
Pallet Auth Server Url used for authentication to Workers Registry. If provided, it will overwrite value provided from BASE_URLS. | string (url) |
|
PALLET_AUTH_SERVER_DOMAIN |
Pallet Auth Server domain | string |
'default' |
WORKER_REGISTRY_URL |
Url of Workers Registry that stores information about Worker Location. If provided, it will overwrite value provided from BASE_URLS. | string (url) |
|
BASE_URLS |
Base URLs of EWX resources | string (url) |
'https://marketplace-cdn.energyweb.org/base_urls.json' |
BUILD_METADATA_PATH |
Path to build metadata file | string |
'./build.json' |
SHUTDOWN_TIMEOUT_MS |
Timeout in milliseconds for graceful shutdown (default: 30000) | number (>0) |
30000 |
ADMIN_SERVER_PORT |
Port number for admin server (default: 3003) | number (>0) |
3003 |
ADMIN_API_KEY |
API key for admin endpoints authentication. Must be at least 32 characters. If not set, admin endpoints will be accessible without authentication. | string (min length: 32) |
(*) Required.