forked from shikshalokam/sl-sunbird-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.sample
108 lines (83 loc) · 2.53 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# Environment configurations file
# Application host information
APPLICATION_ENV = "localhost"
APPLICATION_PORT = "4551"
LOG = "debug"
ENABLE_FILE_LOGGING = "OFF"
ENABLE_CONSOLE_LOGGING = "OFF"
APPLICATION_BASE_HOST = "https://dev.api.shikshalokam.org"
APPLICATION_BASE_URL = "/sunbird/"
# Authorization
AUTHORIZATION = "Bearer "
INTERNAL_ACCESS_TOKEN = "XXXXXXXXXX"
# MONGODB DB setup
TRANSFER_FROM_DB = "sl-dev"
MONGODB_URL = "mongodb://localhost"
MONGODB_PORT = "27017"
MONGODB_DATABASE_NAME = "sl-dev"
# CASSANDRA DATABASE CONFIGURATION
CASSANDRA_HOST = "10.0.0.6"
CASSANDRA_PORT = "9042"
CASSANDRA_DB = "sunbird"
# ELASTIC_SEARCH DATABASE CONFIGURATION
ELASTICSEARCH_HOST_URL = "http://localhost:9200"
ELASTICSEARCH_DICTIONARY_INDEX = "bodhcontent"
ELASTICSEARCH_BODH_CONTENT_INDEX = "bodh"
# Disable learner service check
DISABLE_LEARNER_SERVICE_ON_OFF = "ON"
# Migrations
MIGRATION_COLLECTION = "migrations"
MIGRATION_DIR = "migrations"
# Auth Config
SUNBIRD_BASE_URL = "https://dev.bodh.shikshalokam.org"
SUNBIRD_KEYCLOAK_AUTH_ENDPOINT="/auth"
SUNBIRD_KEYCLOAK_REALM="sunbird"
SUNBIRD_KEYCLOAK_CLIENT_ID="portal"
SUNBIRD_KEYCLOAK_PUBLIC=true
SUNBIRD_CACHE_STORE="memory"
SUNBIRD_CACHE_TTL=1800
SUNBIRD_ADMIN_CLI = "admin-cli"
SUNBIRD_GRANT_TYPE = "password"
SUNBIRD_FRAMEWORK = "NCF"
SUNBIRD_KEYCLOAK_GRANT_TYPE = "password"
SUNBIRD_KEYCLOAK_SESSION_SCOPE = "offline_access"
# Slack Configuration
SLACK_COMMUNICATIONS_ON_OFF = "OFF"
SLACK_EXCEPTION_LOG_URL = "https://hooks.slack.com/services/XXXXXXXXXX/XXXXXXXXXX/XXXX"
SLACK_TOKEN = "xoxp-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX"
URL_PREFIX = "api/v1"
HEALTH_CHECK_URL = "/ping"
LOGGER_DIRECTORY = "logs"
# API Doc
APIDOC_URL = "/public/apidoc/"
APIDOC_PATH = "/public/apidoc/"
BODY_PARSER_LIMIT = "50MB"
# CLOUD SERVICES
CLOUD_STORAGE = "GC"
STORAGE_BUCKET = ""
QR_CODE_BUCKET_NAME = ""
URL_PREFIX_FOR_STORAGE = ""
# Andhra Pradesh Organisation ID
AP_USERS_ORGANISATION_ID = "XXXXXXXXXX"
# Kendra Service Configuration
KENDRA_SERIVCE_HOST = "http://localhost:4001"
KENDRA_SERIVCE_BASE_URL = "/kendra/"
#Zip path
ZIP_PATH = ""
# QR generator configuration
QR_GENERATOR_URL = ""
IMAGE_SIZE = ""
QR_CODE_PATH = ""
# Gotenberg configuration
GOTENBERG_HOST =""
# Bodh PUBLISHER
SUNBIRD_ORGANISATION_ID = ""
SUNBIRD_PUBLISHER_USERNAME = ""
SUNBIRD_PUBLISHER_PASSWORD = ""
# Shikshalokam PUBLISHER
SHIKSHALOKAM_PUBLISHER = ""
SUNBIRD_CHANNEL = "SHIKSHALOKAM"
SUNBIRD_PROVIDER = "SHIKSHALOKAM"
# OFFLINE TOKEN VALIDATION
VALIDATE_ACCESS_TOKEN_OFFLINE = "ON/OFF"
KEYCLOAK_PUBLIC_KEY_PATH = "keycloak-public-keys"