forked from Mishkin2015/xapi-statements
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
105 lines (79 loc) · 2.3 KB
/
.env.example
File metadata and controls
105 lines (79 loc) · 2.3 KB
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
############
# Database #
############
# Data storage method (mongo|memory)
# (Memory typically for development and testing only)
MODELS_REPO=mongo
# Mongo connection string (e.g. mongodb://localhost:27017/xapiserver)
MONGO_URL=
#################
# Express (API) #
#################
EXPRESS_PORT=80
# Custom route and response string
EXPRESS_CUSTOM_ROUTE=status
EXPRESS_CUSTOM_ROUTE_TEXT=ok
# Maximum request body size (not multipart-mixed)
EXPRESS_BODY_PARSER_LIMIT=5mb
# Max timeout (in milliseconds)
DEFAULT_TIMEOUT_MS=300000
###########
# Storage #
###########
## Uncomment the required storage engine (Local|S3) ##
# Binary storage method (s3|local|memory|google)
STORAGE_REPO=
# Local Storage
# FS_LOCAL_STORAGE_DIR=storage
# S3 Storage
FS_S3_BUCKET=
FS_S3_ACCESS_KEY_ID=
FS_S3_SECRET_ACCESS_KEY=
FS_S3_REGION=
FS_S3_BUCKET_SUBFOLDER=
# Google Cloud Storage
FS_GOOGLE_CLOUD_BUCKET=
FS_GOOGLE_CLOUD_KEY_FILENAME=
FS_GOOGLE_CLOUD_PROJECT_ID=
FS_GOOGLE_CLOUD_BUCKET_SUBFOLDER=
#######################
# LOGGING AND CONSOLE #
#######################
# API access logs - relative directory to store logs
EXPRESS_MORGAN_DIRECTORY=storage/accessLogs
###########
# Console #
###########
# Console logging level (error|warning|info|debug|silly)
WINSTON_CONSOLE_LEVEL=info
#######################
# AWS Cloudwatch logs #
#######################
# Cloudwatch logging level (error|warning|info|debug|silly)
WINSTON_CLOUDWATCH_LEVEL=info
WINSTON_CLOUDWATCH_LOG_GROUP_NAME=xapi-server-ryan
WINSTON_CLOUDWATCH_ENABLED=false
# AWS credentials must be configured for Cloudwatch access
# Ref: http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-identity-based-access-control-cwl.html
WINSTON_CLOUDWATCH_ACCESS_KEY_ID=
WINSTON_CLOUDWATCH_SECRET_ACCESS_KEY=
WINSTON_CLOUDWATCH_REGION=
############################################
# xAPI service options #
# -Leave as true for xAPI compliance mode- #
############################################
SERVICE_CHECK_CONFLICTS=true
SERVICE_CHECK_ATTACHMENTS=true
SERVICE_CHECK_VOIDS=true
SERVICE_CREATE_STATEMENTS=true
SERVICE_CREATE_ATTACHMENTS=true
SERVICE_UPDATE_VOIDS=true
SERVICE_UPDATE_REFS=true
SERVICE_AWAIT_UODATES=true
########
# MISC #
########
# Language (en)
LANG=en
# Other (TO BE DEPRECATED)
LL_CLIENT_INFO_ENDPOINT=http://www.example.com/api/auth/client/info