Sign inSign up

k4l4m/thesis-kpi-api

By k4l4m

•Updated about 9 years ago

API for thesis

Image
0

937

k4l4m/thesis-kpi-api repository overview

⁠Thesis KPI API

Docker container to host API for the generated KPIs

⁠Build container

docker build -t k4l4m/thesis-kpi-api .

⁠Environment variables

Set the appropriate environment variables and link necessary MongoDB container. Alternatively setup a virtual network.

MONGO_HOST (default: mongodb)
MONGO_PORT (default: 27017)
MONGO_DB (default: kpis)
MONGO_PW (default: '')
MONGO_USER (default: '')

⁠Run container

docker run -d \
--link mongodb:mongodb \
-p 3000:3000 \
thesis-kpi-api

Tag summary

Content type

Image

Digest

Size

272.6 MB

Last updated

about 9 years ago

docker pull k4l4m/thesis-kpi-api