-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env_template
138 lines (96 loc) · 3.76 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
SERVER_DOCKER_IMAGE=soedinglab/bammserver
# UNIX UID that runs the server and owns the files
BAMM_USER_UID=1000
# database related options
##########################
DB_HOST=db
DB_NAME=webserver
DB_PORT=3306
DB_USER=root
MYSQL_PASSWORD=supersecurepassword
MYSQL_ROOT_PASSWORD=supersecurepassword
# Port of the webserver on the localhost of the host
SERVER_HOST_PORT=10080
# Data PATHS, make sure they are owned by the BAMM_USER_UID
###########################################################
MYSQL_DB_DIR=/var/webserver/mysql_db
REDIS_DB_DIR=/var/webserver/redis_db
WEBSERVER_DIR=/var/webserver/BaMM_webserver
MEDIA_DIR=/var/webserver/media_db
LOG_DIR=/var/webserver/logs
MOTIF_DB_DIR=/var/webserver/motif_db
BACKUP_DIR=/var/webserver/backups
TMP_DIR=/tmp
TEST_DATA_DIR=/var/webserver/test_data
# email logger setttings
# ######################
# set logger level for sending logs per email - can on of DEBUG|INFO|WARN|ERROR or OFF for no emails
EMAIL_LOGGER_LEVEL=OFF
# set logger level for sending django request errors per email - can on of DEBUG|INFO|WARN|ERROR or OFF for no emails - ERROR recommended
EMAIL_REQUEST_LOGGER_LEVEL=OFF
# SMTP server for sending the email
EMAIL_LOGGER_SERVER=
# port of the SMTP server
EMAIL_LOGGER_PORT=587
# SMTP server for sending the email
EMAIL_LOGGER_FROM=
# user for authenticating at the SMTP server
EMAIL_LOGGER_TO=
# user for authenticating at the SMTP server
EMAIL_LOGGER_USER=
# password for authenticating at the SMTP server
EMAIL_LOGGER_PASSWORD=
# logger mail TLS
EMAIL_LOGGER_USE_TLS=1
# subject of the email
EMAIL_LOGGER_SUBJECT=BaMM web server crash detected.
# general settings
##################
# show detailed error message in development - has to set to 0 in production
DJANGO_DEBUG=1
# controls the verbosity of the logger, can be one of DEBUG|INFO|WARN|ERROR
BAMM_LOG_LEVEL=DEBUG
# controls the verbosity of the supervisor process, can be one of error|warn|info|debug|trace|blather
SUPERVISOR_LOG_LEVEL=info
# the secret key is important for secure communication in production use.
SECRET_KEY=someverylongrandomstringthatisverynecessaryforhighsecurity
# unmask the host that the webserver is running on
ALLOWED_HOSTS=0.0.0.0
# the webserver needs to be started after the mysql database is started.
MYSQL_STARTUP_DELAY_SECONDS=5
# set the default ID of the MMcompare database. the Database ID is the name of the folder in MOTIF_DB_DIR
DEFAULT_MOTIF_DB=hocomocoV11_HUMAN
# jobs older than this cannot be found in the Find my job overview table
MAX_FINDJOB_DAYS=30
# maximum upload file size in bytes. (20MiB)
MAX_UPLOAD_FILE_SIZE=20971520
# maximum time in seconds before a job is killed (1h)
JOB_TIME_LIMIT=3600
# maximum parallel workers executing on the server
N_PARALLEL_JOBS=2
# maximum cores pre worker instance
N_CORES_PER_JOB=2
# number of crossvalidation folds of the FDR evaluation
FDR_CV_FOLD=2
# maximum number of seeds the user can choose for refinement
MAX_SEEDS_FOR_REFINEMENT=2
# default number of seeds used by the de-novo workflow
DEFAULT_SEEDS_FOR_REFINEMENT=2
# 1 will force the server to rebuild the examples
FORCE_EXAMPLE_CREATION=0
# 1 will add the .zoops_stats file to the downloadable motif zip
ZIP_INCLUDE_ZOOPS_STATS=0
# fasta files have to have at least this many sequences in order to be accepted by the validator
MIN_FASTA_SEQUENCES=20
# maximum number of days jobs are stored on the server
MAX_JOB_STORAGE_DAYS=7
# maximum number of days input files are stored on the server
MAX_INPUT_STORAGE_DAYS=2
# maximum number of backups kept
N_STORED_BACKUPS=10
# set to 2 to run the backups every day at 2 AM UTC
DAILY_BACKUP_HOUR_UTC=2
# set to 3 to run the cleanup every day at 3 AM UTC
DAILY_CLEANUP_HOUR_UTC=3
# set the path to the test server (only required when running regression tests)
TEST_SERVER_URL=http://0.0.0.0:10080