-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env_learninglocker
181 lines (139 loc) · 3.95 KB
/
.env_learninglocker
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# Node environment (production|development)
NODE_ENV=production
# Site URL (used for emails)
SITE_URL=127.0.0.1
#########
# PORTS #
#########
# Expose the UI on this port
UI_PORT=3000
# Expose the API on this port
API_PORT=8080
# Use an additional port for unit tests
#TEST_API_PORT=808080
# Unique string used for hashing
# Recommended length, 256 bits
APP_SECRET=9UsthhPS86UR+/g1OG7uO0KXUrXhK6QqeaAbN79eIHY=
#############
# DATABASES #
#############
#### MONGO ####
# Mongo URL (e.g. mongodb://localhost:27017/learninglockerV2)
MONGODB_PATH=mongodb://mongo:27017/learninglocker_v2
# Mongo socket timeout in milliseconds (default=300000)
#MONGO_SOCKET_TIMEOUT_MS=
# Mongo pool size (default=20)
#MONGO_CONNECTION_POOLSIZE=
# Mongo URL for tests
MONGODB_TEST_PATH=mongodb://mongo:27017/llv2tests
# Are aggregations allowed to use the Mongo disk (true*|false)
#ALLOW_AGGREGATION_DISK_USE=
#### REDIS ####
# Redis is used for caching aggregations and can also be used as a queue driver where SQS is not available
# The address of your Redis instance e.g. 127.0.0.1
REDIS_HOST=redis
# The port where your redis instance is running e.g. 6379
REDIS_PORT=6379
# Your Redis DB number e.g. 0
REDIS_DB=0
# A prefix for each key in the Redis DB e.g. DEVELOPMENT/PROD
REDIS_PREFIX=LEARNINGLOCKER
# How many seconds are aggregation results cached (default=300)
#AGGREGATION_CACHE_SECONDS=
# Refresh aggregations when this close to expiry (default=120)
#AGGREGATION_REFRESH_AT_SECONDS=
# Max time aggregations can run for in milliseconds (default=0)
# https://docs.mongodb.com/manual/reference/operator/meta/maxTimeMS/
#MAX_TIME_MS=
# Maximum number of documents an aggregation can scan
# https://docs.mongodb.com/manual/reference/operator/meta/maxScan/
#MAX_SCAN=
# Turn off fuzzy scoring on persona matching
# This will make persona workers much faster at scale
#DISABLE_PERSONA_SCORING=false
############
# SECURITY #
############
# Enable/disable frameguard
# Disabling this feature will allow your UI to be embedded (via iframe) into other hosts/domains
#ENABLE_FRAMEGUARD=true
###########
# Logging #
###########
# Minimum logging level (error|warning|info|debug|silly)
LOG_MIN_LEVEL=info
# Relative dir to store API access logs
LOG_DIR=logs
# Logging level for tests
TEST_LOG_MIN_LEVEL=silly
# Use ANSI colour in the logs
COLOR_LOGS=true
#######################
# 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 logs (false*|true)
#WINSTON_CLOUDWATCH_ENABLED=
#WINSTON_CLOUDWATCH_LOG_GROUP_NAME=
#WINSTON_CLOUDWATCH_LOG_STREAM_NAME=
#WINSTON_CLOUDWATCH_ACCESS_KEY_ID=
#WINSTON_CLOUDWATCH_SECRET_ACCESS_KEY=
#WINSTON_CLOUDWATCH_REGION=
#########
# OAuth #
#########
# Enable Google OAuth
# These details are available from the google developer console
GOOGLE_ENABLED=false
#GOOGLE_CLIENT_ID=
#GOOGLE_CLIENT_SECRET=
########
# Mail #
########
# SMTP credentials
#SMTP_HOST= # 127.0.0.1
#SMTP_PORT= # 587
#SMTP_SECURED= # true
#SMTP_USER= # user
#SMTP_PASS= # password
##########
# Queues #
##########
# Queue management system (REDIS|SQS)
QUEUE_PROVIDER=REDIS
# Namespace for queues
QUEUE_NAMESPACE=DEV
# AWS SQS credentials
#AWS_SQS_ACCESS_KEY_ID=
#AWS_SQS_SECRET_ACCESS_KEY=
#AWS_SQS_DEFAULT_REGION=
################
# File storage #
################
# The file storage type (local*|amazon)
FS_REPO=local
# Defaults to `storage`
#FS_SUBFOLDER=
# Local storage
# Defaults to current working directory
#FS_LOCAL_ENDPOINT=
# AWS S3 config
#FS_AWS_S3_ACCESS_KEY_ID=
#FS_AWS_S3_SECRET_ACCESS_KEY=
#FS_AWS_S3_REGION=
#FS_AWS_S3_BUCKET=
#############
# New Relic #
#############
# New Relic License key
#NEW_RELIC_LICENSE_KEY=
# APM name for API
#NEWRELIC_API_NAME=
# APM name for UI
#NEWRELIC_UI_NAME=
########
# MISC #
########
# Location of virus scanning binary (ClamAV - https://www.clamav.net/)
#CLAMSCAN_BINARY=/usr/bin/clamscan