Component calculating statistics about the performance that services have on the RS of the marketplace.
Prerequisites:
- Read access to RS Mongo (from Cyfronet)
- Read access to our RS Content-based mongo (from Athena)
Build and run:
- Make sure that you have added the
.env
file in the project root - Run
docker build -t provider-insights-image . -f Dockerfile
- Run
docker run -p <port>:4558 provider-insights-image
The following variables should be set in the .env file. Note that names of the env variables attempt to differentiate between the two RSs:
COLLABORATIVE_RS
for the Cyfronet RSCONTENT_BASED_RS
for the Athena RS
# Mongo from the Athena recommender
CONTENT_BASED_RS_MONGO_HOST=localhost
CONTENT_BASED_RS_MONGO_PORT=27017
CONTENT_BASED_RS_MONGO_DATABASE=recommender
CONTENT_BASED_RS_MONGO_USERNAME=dev
CONTENT_BASED_RS_MONGO_PASSWORD=dev
# Mongo from the Cyfronet team
COLLABORATIVE_RS_HOST=localhost
COLLABORATIVE_RS_PORT=27017
COLLABORATIVE_RS_DATABASE=recommender
COLLABORATIVE_RS_USERNAME=dev
COLLABORATIVE_RS_PASSWORD=dev
# Secrets
ACCESS_TOKEN=abcdefg...
SENTRY_SDN=https://389434adfhsf...
CRONITOR_API_KEY=1414141adad...