forked from project-sunbird/ml-core-service
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.sample
43 lines (32 loc) · 2.73 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
# 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
#Cloud Storage Configuration
CLOUD_STORAGE = "AWS/GC/AZURE" // Cloud storage provider.
# Google Cloud Configuration
GCP_PATH = "./generics/helpers/credentials/storage.json" // Path to the the Google cloud authentication key
GCP_BUCKET_NAME = "gcp bucket name" // Google cloud bucket name
# Azure Cloud Configuration
AZURE_ACCOUNT_NAME = "AZURE_KEY" // Azure account name
AZURE_ACCOUNT_KEY = "Ih..............NBN" // Azure account key
AZURE_STORAGE_CONTAINER = "Azure_bucket" // Azure container/bucket name
# AWS Cloud Configuration
AWS_ACCESS_KEY_ID = "AK...........WA" // Aws cloud storage access key id
AWS_SECRET_ACCESS_KEY = "QB......................9sB" // Aws cloud storage access key
AWS_BUCKET_NAME = "aws bucket name" // Aws cloud storage bucket name
AWS_BUCKET_REGION = "ap-south-1" // Aws cloud storgae region
AWS_BUCKET_ENDPOINT = "s3.ap-south-1.amazonaws.com" // Aws cloud storage api's endpoint
# 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
# Elastic search configurations
ELASTICSEARCH_COMMUNICATIONS_ON_OFF = "ON/OFF" // Elastic search enable/disable flag E.g. ON/OFF
ELASTICSEARCH_HOST_URL = "http://127.0.0.1:9200" // Elastic search host url
ELASTICSEARCH_ENTITIES_INDEX = "entities" // Elastic search index name for storing entities
USER_SERVICE_URL = "http://user-service:3000" // Base url of the sunbird enviornment