forked from LearningLocker/xapi-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
109 lines (89 loc) · 2.64 KB
/
.env.example
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
109
############
# Database #
############
# Data storage method
# (Memory typically for development and testing only)
# (mongo*|memory)
#MODELS_REPO=mongo
# Mongo connection string (e.g. mongodb://localhost:27017/xapiservice)
MONGO_URL=mongodb://localhost:27017/learninglocker_v2?replicaSet=rs0
MONGO_DB=learninglocker_v2
#########
# Redis #
#########
#REDIS_PREFIX=LEARNINGLOCKER
#REDIS_URL=redis://127.0.0.1:6379/0
#################
# Express (API) #
#################
EXPRESS_PORT=8081
###########
# Storage #
###########
# (s3|local*|memory|google|azure)
#STORAGE_REPO=local
# Local Storage
#FS_LOCAL_STORAGE_DIR=
# S3 Storage
#FS_S3_BUCKET=
#FS_S3_ACCESS_KEY_ID=
#FS_S3_SECRET_ACCESS_KEY=
#FS_S3_REGION=
# Google Storage
#FS_GOOGLE_CLOUD_BUCKET=
#FS_GOOGLE_CLOUD_KEY_FILENAME=
#FS_GOOGLE_CLOUD_PROJECT_ID=
#FS_GOOGLE_CLOUD_BUCKET_SUBFOLDER=
# Azure Storage
#FS_AZURE_ACCOUNT=
#FS_AZURE_ACCOUNT_KEY=
#FS_AZURE_CONTAINER_NAME=
#FS_AZURE_CONTAINER_SUBFOLDER=
# Storage Sub Folders
#SUB_FOLDER_ACTIVITIES=/activities
#SUB_FOLDER_AGENTS=/agents
#SUB_FOLDER_STATE=/state
#SUB_FOLDER_STATEMENTS=/statements
#######################
# LOGGING AND CONSOLE #
#######################
# API access logs - relative directory to store logs
#EXPRESS_MORGAN_DIRECTORY=
###########
# Console #
###########
# (error|warning|info*|debug|silly)
#WINSTON_CONSOLE_LEVEL=info
#######################
# AWS Cloudwatch logs #
# AWS credentials must be configured for Cloudwatch access
# Ref: http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-identity-based-access-control-cwl.html
#######################
# Enable Cloudwatch (false*|true)
#WINSTON_CLOUDWATCH_ENABLED=true
# Cloudwatch log level (error|warning|info*|debug|silly)
#WINSTON_CLOUDWATCH_LEVEL=info
#WINSTON_CLOUDWATCH_LOG_GROUP_NAME=
#WINSTON_CLOUDWATCH_ACCESS_KEY_ID=
#WINSTON_CLOUDWATCH_SECRET_ACCESS_KEY=
#WINSTON_CLOUDWATCH_REGION=
#WINSTON_CLOUDWATCH_LOG_STREAM_NAME=
###############
# Statements #
###############
# Set if you'd like the statement service to remove nullified fields
#SERVICE_REMOVE_NULLS=false
###############################
# Statement handling priority #
###############################
# Uncomment next line if you want to enable statement handling priority
#ENABLE_QUEUE_PRIORITY=true
##########
# Misc #
##########
# If set this will override AWS region for FS_S3_REGION and WINSTON_CLOUDWATCH_REGION
#GLOBAL_AWS_REGION=
# If set this will override AWS access key id for FS_S3_ACCESS_KEY_ID and WINSTON_CLOUDWATCH_ACCESS_KEY_ID
#GLOBAL_AWS_IAM_ACCESS_KEY_ID=
# If set this will override AWS access secret for FS_S3_SECRET_ACCESS_KEY and WINSTON_CLOUDWATCH_SECRET_ACCESS_KEY
#GLOBAL_AWS_IAM_SECRET_ACCESS_KEY=