OpenEMP Configurator is a service that provides a list of structered properties and configuration files via REST API for microservices.
first install nodejs
to run Configurator execute the following:
git clone https://github.com/openemp/openemp-api-configurator
cd openemp-api-configurator
npm install
npm start
configurator then will serve properties and configurations from the /config folder, please override it's content to provide your own.
to run in production execute the following:
export CONFIG_PATH=<path/to/your/config>
npm start
Setting CONFIG_PATH
is required for production.
Supported env variables:
PORT
Server port (default: 3001)USER
Set a username to enable authenticationPASSWORD
Set a password for userCONFIG_PATH
A path to custom config folder
To contribution please follow the 'How To Contribute' page in the documentation.