forked from Seneca-CDOT/telescope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.staging
94 lines (70 loc) · 4.4 KB
/
env.staging
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
# NODE_ENV should be one of "development" or "production"
NODE_ENV=production
# PORT is the port used by the web server
PORT=3000
API_URL=https://dev.telescope.cdot.systems
# LOG_LEVEL is used to set the level of debugging for the logs.
# info, error and debug are commonly used levels. See http://getpino.io/#/docs/api?id=level for more info on levels.
# to completely disable all logs, use silent.
LOG_LEVEL=info
# LOG_FILE is used to set a destination path to write logs. Works in production mode only.
LOG_FILE=log/telescope.log
# FEED_URL url used to access feed list
FEED_URL=https://wiki.cdot.senecacollege.ca/wiki/Planet_CDOT_Feed_List
# Milliseconds to wait after attempting to fetch the feed list when the server is not available
FEED_URL_INTERVAL_MS=30000
# Redis Server info, password may be optional (e.g., leave empty if you don't set one)
REDIS_URL=redis://127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=
# MOCK_REDIS=1 will use an in-memory, mock Redis instance. Useful for testing.
MOCK_REDIS=
# Elasticsearch info
ELASTIC_URL=http://127.0.0.1
ELASTIC_PORT=9200
# Max number of results per query
ELASTIC_MAX_RESULTS_PER_PAGE=5
# Delay to check connectivity with Elasticsearch in ms
ELASTIC_DELAY_MS=10000
# The Single Sign On (SSO) login service URL
SSO_LOGIN_URL=https://login.microsoftonline.com/3ddc4284-8377-4878-94bf-a35840ca61fe/saml2
# The callback URL endpoint to be used by the SSO login service (see the /auth route)
SSO_LOGIN_CALLBACK_URL=https://dev.telescope.cdot.systems/auth/login/callback
# The SSO Identity Provider's public key certificate. Can be a file (.pem or text)
# or can be specified inline. Use the _FILE version if this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OGOUT_URL=https://login.microsoftonline.com/3ddc4284-8377-4878-94bf-a35840ca61fe/saml2
# The callback URL endpoint to be used by the SLO logout service (see the /auth route)
SLO_LOGOUT_CALLBACK_URL=https://dev.telescope.cdot.systems/auth/logout/callback
# Our apps's Entity ID, which is also the URL to our metadata.
SAML_ENTITY_ID=https://dev.telescope.cdot.systems/sp
# SECRET = cookie session SECRET. If left empty, one will be set automatically
SECRET=
# ADMINISTRATORS is a list (space delimited) of users who have administrator
# rights. Use the user's nameID (user2@example.com) or hashed version of
# nameID (2b3b2b9ce8). Either will work.
ADMINISTRATORS=david.humphrey@sencollege.ca jquilon-barrios@senstudents.com
# Period of time (seconds) that an unprocessed feed must wait before its
# next processing attempt (due to previous attempt responding with HTTP 429)
FEED_PROCESSING_DELAY_SEC=3600
# Feed job queue attempts
FEED_QUEUE_ATTEMPTS=5
# Feed job queue delay(ms)
FEED_QUEUE_DELAY_MS=60000
# Number of concurrent worker processors to run. Use * if you want to run
# one per CPU. Use a number if you want to set it manually, up to a max
# of the CPU count. If not set, we'll assume 1.
FEED_QUEUE_PARALLEL_WORKERS=1
# Max number of posts per page
MAX_POSTS_PER_PAGE=5
# If you need to do a release, GitHub requires a Personal Access token.
# You can create one at https://github.com/settings/tokens, and get more info:
# https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line
#
# IMPORTANT: DO NOT SHARE OR COMMIT THIS TOKEN!
GITHUB_TOKEN=
# UNSPLASH API
# UNSPLASH_CLIENT_ID=""
# If we wish to override default collection
# UNSPLASH_COLLECTION_ID=""