-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.TEMPLATE
76 lines (63 loc) · 3.14 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Add a unique secret key string. For more information see https://docs.djangoproject.com/en/4.0/ref/settings/#secret-key
# The secret key is a unique key that you are required to provide to Django.
# https://djecrety.ir/ or https://randomkeygen.com/ can be used to generate a strong
# secret key. The secret key should be kept private and not shared with anyone.
SECRET_KEY=
# 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=0
# 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
WEB_PORT=8000
# Set the path to the data directory. This is where Phylobook finds the project folders to display.
# E.g. /data
PROJECT_PATH=
# Set the server name
# E.g. phylobook.mullins.microbiol.washington.edu
SERVER_NAME=
# Set the email settings for password reset emails
# These settings are used for password reset email requests. If you are running a stand-alone installation, you can leave the settings as is.
# Below is an example of the configuration of EMAIL_HOST, EMAIL_USE_TLS, EMAIL_PORT for office365 exchange.
# In the case of office365, EMAIL_HOST_USER is an email address and EMAIL_HOST_PASSWORD is obviously the password.
# Other email host settings may vary, please add your host specific email settings.
EMAIL_HOST=outlook.office365.com
# EMAIL_USE_TLS (1 or 0) 1=True 0=False
EMAIL_USE_TLS=1
EMAIL_PORT=587
EMAIL_HOST_USER=
EMAIL_HOST_PASSWORD=
# DB configuration
# Add a password to DB_PASS.
# Use custom name or leave as "postgres"
DB_USER=postgres
# Use custom name or leave as "postgres"
DB_NAME=postgres
# Add a secure password for the database
DB_PASS=
# 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:
# Default lineage names by color.
# Uncomment LINEAGE_FILE line and set the name to the lineage file (make sure the file is in /inital_data).
# See /phylobook/initial_data/MullinsLineages.csv for the format.
# LINEAGE_FILE=MullinsLineages.csv
# Indicates the number of uploaded .fasta files that can be processed at once.
# Defaults to the number of cores on the server.
# MAX_FASTA_PROCESSORS=
# Number of seconds between checks for new notifications.
# Defaults to 300 seconds (5 minutes) if not set.
# NOTIFICATION_UPDATE_INTERVAL=300