An api to allow some users to turn on a server by calling an URL in HTTP. Workflow :
- Call
GET /emails/authorizedto get list of authorized emails (set in conf) - Call
POST /emails/:emailto receive an emailwith a token to turn on the server - With the token in the email, call
POST /emails/siwtch-on/:tokento turn on the server
- PORT
- NODE_ENV
- CONF_PATH
docker build .- run in dev :
docker-compose up - build for arm32v7 :
docker build . -t test -f Dockerfile.arm32v7