forked from project-sunbird/ml-core-service
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.env.sample
62 lines (40 loc) · 3.85 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
52
53
54
55
56
57
58
59
60
61
62
# Environment configurations file
APPLICATION_PORT = "3000" // Application port number
APPLICATION_ENV = "development" // Application running enviornment
# Mongo DB Configuration
MONGODB_URL = "mongodb://localhost:27017/sl-prod" // Mongo DB URL
INTERNAL_ACCESS_TOKEN = "Fg*************yr" // Internal access token for accessing Internal services APIs
# OFFLINE TOKEN VALIDATION
KEYCLOAK_PUBLIC_KEY_PATH = "keycloak-public-keys" // Path to Offline token public key
# ML Survey Service
ML_SURVEY_SERVICE_URL = "http://ml-survey-service:3000" // ML Survey service url
# ML Project Service Service
ML_PROJECT_SERVICE_URL = "http://ml-project-service:3000" // ML Project service url
#USER service
USER_SERVICE_URL = "http://user-service:3000" // Base url of the sunbird enviornment
CSV_REPORTS_PATH = "public/report" // Report path
APP_PORTAL_BASE_URL = "https://dev.sunbirded.org"
FORM_SERVICE_URL = "http://player:3000" // Base url for form search
# KAFKA Configurations
KAFKA_COMMUNICATIONS_ON_OFF = "ON/OFF" // Kafka enable or disable communication flag
KAFKA_URL = "100.0.0.1:9092" // IP address of kafka server with port without HTTP
KAFKA_GROUP_ID = "mlcore" // Kafka group id
PROGRAM_USERS_JOINED_TOPIC = "dev.programuser.info" // Kafka submission topic for pushing program joined user's data
TIMEZONE_DIFFRENECE_BETWEEN_LOCAL_TIME_AND_UTC = +05:30 //Time zone diffrenece between local and UTC
# Cloud storage configurations
CLOUD_STORAGE_PROVIDER = azure // Provider for cloud storage (e.g., "azure", "aws", "gcloud", "oci")
CLOUD_STORAGE_ACCOUNTNAME = sunbirdstagingpublic // CSP account name
CLOUD_STORAGE_SECRET = 7xfCipY***tPTLwbVOkeL9f0NgA2frTxD1vnrTWpUxA== // Secret key for storage
CLOUD_STORAGE_BUCKETNAME = ml-evidences // Name of the CSP bucket
CLOUD_STORAGE_REGION = "ap-south-1" // CSP region (require for aws and oci)
CLOUD_STORAGE_PROJECT = "sl-dev-project" // CSP project Id (required for gcloud CSP)
CLOUD_ENDPOINT = https://a**.compat.objectstorage.ap-hyderabad-1.oraclecloud.com // CSP endpoint (required for oci)
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 = {{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
VALIDATE_ENTITIES = ON/OFF //validate entities with location search enable disable
PUBLIC_BASE_URL = "http://sunbird.org" // Public Base Url for presigned Url
OWNERSHIP_TRANSFER_ON_OFF =ON/OFF // enable/disable owner assets transfer flow
OWNERSHIP_TRANSFER_TOPIC={{env_name}}.transfer.ownership.job // Topic name for owner assets transfer event consumer