forked from project-sunbird/ml-projects-service
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.sample
52 lines (33 loc) · 2.82 KB
/
.env.sample
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Ml project service configurations file
APPLICATION_PORT = "3000" // Application port number
APPLICATION_ENV = "development" // Application running environment
INTERNAL_ACCESS_TOKEN = "Fg*************yr" // Internal access token for accessing internal service APIs
# DB
MONGODB_URL = "mongodb://localhost:27017/sl-assessment" // Mongodb connection url
# ML Core Service
ML_CORE_SERVICE_URL = "http://ml-core-service:3000" // ML Core Service URL
# ML Reports Service
ML_REPORTS_SERVICE_URL = "http://ml-reports-service:3000" // ML Reports Service URL
# ML Survey Service
ML_SURVEY_SERVICE_URL = "http://ml-survey-service:3000" // ML Survey Service URL
# OFFLINE VALIDATION
KEYCLOAK_PUBLIC_KEY_PATH = "keycloak-public-keys" // Keycloak public key path
# KAFKA Configurations
KAFKA_COMMUNICATIONS_ON_OFF = "ON/OFF" // Kafka enable or disable communication flag
KAFKA_URL = "172.31.0.4:9092" // IP address of kafka server with port without HTTP
KAFKA_GROUP_ID = "projects" // Kafka group id
# SUBMISSION TOPIC
SUBMISSION_TOPIC = "dev.sl.projects.submissions" // Kafka topic name for pushing projects submissions
PROJECT_SUBMISSION_TOPIC = "dev.sl.projects.submissions" // project submission topic
# SUNBIRD LOCATION AND USER READ
USER_SERVICE_URL = "http://user-service:3000" // service used for user profile read location search are using this base url
#service name
SERVICE_NAME = ml-project-service // ml-project service name
# sunbird-rc service
CERTIFICATE_SERVICE_URL = http://registry-service:8081 // sunbird-RC registry service URL
PROJECT_CERTIFICATE_ON_OFF = "ON/OFF" // Project certificate enable or disable flag
USER_DELETE_ON_OFF = ON/OFF // enable/disable user delete flow
USER_DELETE_TOPIC = {{env_name}}.delete.user // Topic name for user delete event consumer
ID = ID = {{env_name}}.{{sunbird_instance}}.ml.core.service // ID of service
TELEMETRY_ON_OFF = ON/OFF // telemetry service on off
TELEMETRY_TOPIC = {{env_name}}.telemetry.raw // Topic name for telemetry