forked from Seneca-CDOT/telescope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.production
90 lines (67 loc) · 4.27 KB
/
env.production
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
# 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://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
# Elasticsearch info
ELASTIC_URL=http://127.0.0.1
ELASTIC_PORT=9200
# Max number of results per query
ELASTIC_MAX_RESULTS=50
# 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/eb34f74a-58e7-4a8b-9e59-433e4c412757/saml2
# The callback URL endpoint to be used by the SSO login service (see the /auth route)
SSO_LOGIN_CALLBACK_URL=https://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 is a filename.
SSO_IDP_PUBLIC_KEY_CERT=MIIC8DCCAdigAwIBAgIQdkwaL5ZETpxKCS6P5jD5QzANBgkqhkiG9w0BAQsFADA0MTIwMAYDVQQDEylNaWNyb3NvZnQgQXp1cmUgRmVkZXJhdGVkIFNTTyBDZXJ0aWZpY2F0ZTAeFw0yMDA0MTMxNTA1NDNaFw0yMzA0MTMxNTA1NDNaMDQxMjAwBgNVBAMTKU1pY3Jvc29mdCBBenVyZSBGZWRlcmF0ZWQgU1NPIENlcnRpZmljYXRlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA24egkW+W/T6VR+IckynKqrpWxFUXFhJu4vXQnYgOgVH6BtVoEbdHlZPk/vTCPbnRbS3VBizJzvf3kQ/1OG8Q6bB94sbKW35tGb+k6rNklW1hshPCbgd+7MXT2Ky/ZtfxEY4nicOzyub84/rydQ12im3mZuRKBLjYUsd43xlaZVo40UuyV4PUiJB8a0/9E/MD3LVfQB5Hujk2VVqggQcI3vHuFVaZU2rydVrSmuTRmCkpNyBU3m374S16uD0MPkUllm//En+DKbkTQA8vU7CuiTAIiYTtzIjUTymVdcYLkOjaon4XkFcsx2+Dg31tDKr2Vf13osRvYxp3WARsLCImZQIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQBcFn7Rw8aGsaRE6Y3+Xlj8PXA35rzyqSA75oLaVzR2+UEU+5c1JVLbBBDw+7giSffNo0mS/OiDG7gtvtM+WTHcCLEAxEkC0gnbCi7sfaadK7Bq5CwP6mrZUgjkyQC8RpuFDGQz8GHyOkKpI8Mg/h4Dd/zUutQDuPFXoHQVowLIFOS2S6xvnQc2INXwZxxP2InhmF9Bf0kv+5KFiGmrHwEFHMTgb3RmVKZSTUUn+HZcBrTnQ6Jw1Peh7ORo+zSVGZlEjkWJdocXwDIbQde5Gh2eegjpyWzS1wfWRsa7cuA4llE6vj8ztivC21ufYu9+dldyLF3Zuib4hwSaZJ7MOaeo
# The Single Logout (SLO) service URL
SLO_LOGOUT_URL=https://login.microsoftonline.com/eb34f74a-58e7-4a8b-9e59-433e4c412757/saml2
# The callback URL endpoint to be used by the SLO logout service (see the /auth route)
SLO_LOGOUT_CALLBACK_URL=https://telescope.cdot.systems/auth/logout/callback
# Our apps's Entity ID, which is also the URL to our metadata.
SAML_ENTITY_ID=https://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@senecacollege.ca chris.tyler@senecacollege.ca
# 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=10
# 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=""