forked from fabric8-analytics/f8a-hpf-insights
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
30 lines (30 loc) · 1.13 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: "2"
services:
hpf-insights:
build:
context: .
dockerfile: Dockerfile
#Using docker image for testing purpose
#TODO: change it f8a-image
image: docker.io/lsuman/hpf-insights:latest
network_mode: bridge
entrypoint:
- /bin/entrypoint.sh
environment:
AWS_S3_ACCESS_KEY_ID: "${AWS_S3_ACCESS_KEY_ID}"
AWS_S3_SECRET_ACCESS_KEY: "${AWS_S3_SECRET_ACCESS_KEY}"
AWS_S3_BUCKET_NAME: "${AWS_S3_BUCKET_NAME}"
AWS_S3_ENDPOINT_URL: "${AWS_S3_ENDPOINT_URL}"
HPF_SCORING_REGION: "${HPF_SCORING_REGION}" # [ECOSYSTEM] - <maven/pypi/npm>
DEPLOYMENT_PREFIX: "${DEPLOYMENT_PREFIX}" # <DEV/STAGE/PROD> - affects where the data and log for training gets stored.
SERVICE_PORT: "${SERVICE_PORT}"
SERVICE_TIMEOUT: "${SERVICE_TIMEOUT}"
FLASK_LOGGING_LEVEL: "INFO"
PYTHONUNBUFFERED: 0
UNKNOWN_PACKAGES_THRESHOLD: "${UNKNOWN_PACKAGES_THRESHOLD}"
MAX_COMPANION_REC_COUNT: "${MAX_COMPANION_REC_COUNT}"
MIN_REC_CONFIDENCE: "30"
USE_CLOUD_SERVICES: "${USE_CLOUD_SERVICES}"
USE_FEEDBACK: "${USE_FEEDBACK}"
ports:
- "6006:6006"