Starts a Eve's API for simple usage.
- Maintained by: ziuloliveira@gmail.com
- Where to learn more about Eve: Eve's doc
docker run --name eve -e MONGO_URI=<mongo://uri> -e MONGO_DBNAME=<mydatabase> -p 5000:5000 eve-template
-
MONGO_URI,MONGO_HOSTMongo URI. Default:localhost -
MONGO_DBNAMEMongo database to be used. Default:example -
PORTPort where the service will bind. Default:5000 -
DEBUGEnables debug mode. Default:0 -
OPLOGEnables oplog. Default:1 -
USE_AUTHEnables auth. Default:0 -
JWT_SECRET_KEYSecret used by JWT hash. Default:YourSecretPassword -
JWT_ALGORITHMAlgorithm used to create JWT token. Default:HS256