-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.TEMPLATE
58 lines (48 loc) · 2.44 KB
/
.env.TEMPLATE
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
# Add a unique secret key string. For more information see https://docs.djangoproject.com/en/4.0/ref/settings/#secret-key
# Secret key is a unique key that you are required to provide to Django.
# If you have python3 installed on your system, you can issue the following command to generate a secret key:
# python3 -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
SECRET_KEY=y5y+w#z@a$ef0g!!$^!i+ro-jhh63_qsqd8=)ph!9u@x1g%)-f
# Set debug off (0) or on (1)
# If this is set to 1, then errors will be displayed in the client browser window. Set to 1 if you are needing to debug a problem.
# Default is 0.
DEBUG=1
DEBUG_TOOLBAR=0 # If DEBUG and DEBUG_TOOLBAR are on show the Django Debug Toolbar on each page
LOGLEVEL=INFO
# Set the hosts (separated by a space) that are allowed to access this application.
# Default is "localhost 127.0.0.1" which limits to only localhost requests.
# If you are using a domain name for public use, you will need to add it to the list.
# E.g. localhost 127.0.0.1 myserver.domain.com
DJANGO_ALLOWED_HOSTS=* localhost 127.0.0.1
# Postgresql Configuration
POSTGRES_NAME=hiris
POSTGRES_USER=hiris
POSTGRES_PASSWORD=mypassword # Change this password!
POSTGRES_PORT=15432
# Web Ports
WEB_PORT=8001 # The internal port the HiRIS server will be running on
# EXTERNAL_WEB_PORT=80 # The external port that gets translated to. Only needed if there is a reverse proxy between the serever and the world
# There are 3 types of LOGIN_TYPE authentication - "local" (default), "sso", and "dual".
# An IT professional will be required to configure "sso" and "dual". If you are not familiar with SAML,
# please leave the default "local".
# Please choose the one that you prefer:
# local - locally managed accounts with passwords stored encrypted (default)
# sso - SAML supported single sign on only
# dual - supports both single sign on and locally managed acounts
LOGIN_TYPE=local
# Do not change this setting.
LOGIN_URL=/login
# For LOGIN_TYPE=dual, uncomment and change the labels to fit your institution
#LOGIN_SSO_TITLE=UW Login >>
#LOGIN_SSO_COLLABORATOR_TITLE=Collaborator account:
# UW_SAML stuff
# UW_SAML_CERT_DIR=/hiris/certs
# UW_SAML_PRIVATE_KEY=hiris.key.pem
# UW_SAML_PUBLIC_CERT=hiris.cert.pem
# UW_SAML_IDPCERT=idp.cert
# UW_SAML Mock Login
# MOCK_USERNAME=<desired username>
# MOCK_PASSWORD=<desired password>
# MOCK_EMAIL=<desired emailid>
# Directory to store working files in
WORKING_FILES_DIR=hiris-files