Name: nodejs-dashboard-75-experiments
Owner: Formidable
Description: nodejs-dashboard + nodemon env vars
Created: 2017-11-30 22:52:26.0
Updated: 2017-12-01 20:27:32.0
Pushed: 2017-12-01 20:27:31.0
Homepage: null
Size: 3
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Experiment repo for: https://github.com/FormidableLabs/nodejs-dashboard/issues/75
rn
Docker:
t docker, docker-compose
ew install docker docker-compose
rst time
cker-machine create default
ery other time
cker-machine start default
al $(docker-machine env default)
The ./env.sh
script displays environment variables grepped to nodejs-dashboard_
. We try different combinations of nodejs-dashboard + nodemon to make sure we have three variables show up like:
js-dashboard_REFRESH_INTERVAL=1000
js-dashboard_PORT=9838
js-dashboard_BLOCKED_THRESHOLD=10
Local:
yarn run db-env
: Run dashboard without nodemon.yarn run nm-env
: Run dashboard with nodemon.Docker:
docker-compose run --rm yarn run db-env
: Run dashboard without nodemon.docker-compose run --rm yarn run nm-env
: Run dashboard with nodemon.