forked from twangodev/uw-coursemap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
22 lines (18 loc) · 1.07 KB
/
Copy path.env.example
File metadata and controls
22 lines (18 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This is an example .env file used for uw-coursemap-web, uw-coursemap-search, elasticsearch, and generation.
# Please change the values to your own settings, especially the ELASTIC_PASSWORD in production for security reasons.
# Where generated files are stored
DATA_DIR='./data'
# uw-coursemap-web
PUBLIC_API_URL='https://static.uwcourses.com'
PUBLIC_SEARCH_API_URL='https://search.uwcourses.com'
CROWDIN_API_TOKEN='CHANGEME' # For internationalization, change this to your Crowdin personal token
# uw-coursemap-search and elasticsearch
ELASTIC_HOST='https://elasticsearch:9200' # This points to the elasticsearch service
ELASTIC_USERNAME='elastic'
ELASTIC_PASSWORD='CHANGEME' # Change this to a secure password
ELASTIC_VERIFY_CERTS='false' # Since we are using self-signed certificates, set this to false unless you have valid certs
DISCOVERY.TYPE='single-node'
# generation
SITEMAP_BASE='https://uwcourses.com'
MADGRADES_API_KEY='CHANGEME' # Change this to your MadGrades API key
CUDA_DEVICE='' # If applicable, specify the CUDA device to use for generation, e.g., '0' for the first GPU.