forked from LearningLocker/xapi-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
71 lines (58 loc) · 1.55 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
############
# 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
#########
# Redis #
#########
#REDIS_PREFIX=LEARNINGLOCKER
#REDIS_URL=redis://127.0.0.1:6379/0
#################
# Express (API) #
#################
EXPRESS_PORT=8081
###########
# Storage #
###########
# (s3|local*|memory)
#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=
# 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=