mirror of
https://github.com/stronk-dev/OrchestratorTracker.git
synced 2025-07-05 19:05:10 +02:00
806 B
806 B
Config variables
{
MASTER_PORT: what port the master is listening on
PRESHARED_MASTER_KEY: clients must provide this value when uploading stats,
CONF_ENS_TIMEOUT: timeout in ms after which it will pull new ENS domain names from nFrame
}
Run production
Note: this folder has to be placed in /orchTest/master
npm install
nano src/config.js
example config.js
:
export const {
MASTER_PORT = 42069,
PRESHARED_MASTER_KEY = "koekjes",
CONF_ENS_TIMEOUT = 360000
} = process.env;
pm2 start ecosystem.config.js
Run development
npm install
nano src/config.js
example config.js
:
export const {
MASTER_PORT = 42069,
PRESHARED_MASTER_KEY = "koekjes",
CONF_ENS_TIMEOUT = 360000
} = process.env;
npm run dev