generated from VEuPathDB/example-jaxrs-container-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env.tpl
More file actions
194 lines (148 loc) · 4.53 KB
/
example.env.tpl
File metadata and controls
194 lines (148 loc) · 4.53 KB
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# # Core Lib Options
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# User Login Auth (Salt Hash)
AUTH_SECRET_KEY=
# HTTP Server bind port
SERVER_PORT=80
# OAuth Config
OAUTH_CLIENT_ID=
OAUTH_CLIENT_SECRET=
OAUTH_URL=
# Admin endpoint auth token
ADMIN_AUTH_TOKEN=
# LDAP servers used to fetch DB connection details.
#
# Comma separated list of url:port combinations.
#
# For example: ldap.server1.com:888,ldap.server2.com:898
LDAP_SERVER=
# LDAP Base Distinguished Name
ORACLE_BASE_DN=
# Account DB TNS Name (used for LDAP lookup)
ACCT_DB_TNS_NAME=
# Account DB Username
ACCT_DB_USER=
# Account DB Password
ACCT_DB_PASS=
# User DB TNS Name (used for LDAP lookup)
USER_DB_TNS_NAME=
# User DB Username
USER_DB_USER=
# User DB Password
USER_DB_PASS=
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# # Multiblast Options
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# # Filesystem Config
# #
# Job data workspace mount point.
JOB_MOUNT_PATH=/out
# Local machine location where blast workspaces will be created (this dir SHOULD
# exist before starting up the stack)
LOCAL_HOST_WORKSPACE_MOUNT_PATH=/home/${USER}/blastout
# Blast file mount point.
DB_MOUNT_PATH=/db
# Local machine location where target blast databases are saved (this dir MUST
# exist before starting up the stack)
#
# This directory should match the directory structure of the webServices
# directory on VEuPathDB servers.
LOCAL_HOST_DB_MOUNT_PATH=/home/${USER}/blastdb
# Site build (used to resolve blast target paths)
DB_BUILD=51
# #
# # Service Hosts
# #
# Docker container name/URL for the Fireworq server.
QUEUE_HOST=queue
# Docker container name/URL for the blast worker node.
BLAST_HOST=blast
# Docker container name/url for the formatter worker node.
FORMATTER_HOST=formatter
# Docker container name/URL for the validation service.
VALIDATOR_HOST=validator
# #
# # Blast Query Job Config
# #
# Name of the queue for blast jobs.
#
# This value should mirror the blast queue's name as set in
# the fireworq/queues.yml file.
BLAST_QUEUE_NAME=blast
# Name of the route/category for blast jobs.
#
# This value should mirror the blast queue's category as set
# in the fireworq/queues.yml file.
BLAST_JOB_CATEGORY=blast
# #
# # Blast Format Job Config
# #
# Name of the queue for formatter jobs.
#
# This value should mirror the formatter queue's name as set
# in the fireworq/queues.yml file.
FORMAT_QUEUE_NAME=format
# Name of the route/category for formatter jobs.
#
# This value should mirror the formatter queue's category as
# set in the fireworq/queues.yml file.
FORMAT_JOB_CATEGORY=format
# #
# # Blast Service Options
# #
# Length of time a job's results will be held after the last
# usage (in days).
JOB_TIMEOUT=5
# Maximum number of sequences that may be submitted in a
# single query.
MAX_QUERIES_PER_REQUEST=100
# Maximum number of results that a user is allowed to
# request in a single job. This is not a hard rule, as
# there is no way to guarantee it. Instead the number of
# sequences is multiplied by the number of requested hits.
# Additionally requesters may override this value with a
# lower limit when submitting a job.
MAX_RESULTS_PER_QUERY=10000
# Maximum allowed total query length in bytes for a single
# job.
MAX_INPUT_QUERY_SIZE=3145728
# Maximum allowed length for an individual nucleotide query
# sequence.
MAX_NA_SEQ_SIZE=1048576
# Maximum allowed length for an individual protein query
# sequence.
MAX_AA_SEQ_SIZE=102400
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# # Fireworq Options
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Root password for the queue server's mysql database.
#
# This value should only be known by ops, if anyone at all.
MYSQL_ROOT_PASSWORD=
# Queue service DB user (used by the queue server to access
# the database)
QUEUE_DB_USER=queue
# Queue service DB password. (Should only be known by ops).
QUEUE_DB_PASS=
# Specifies a data source name for the job queue and the
# repository database in the form:
# user:password@tcp(mysql_host:mysql_port)/database?options
#
# The username and password value here must match the
# `QUEUE_DB_USER` and `QUEUE_DB_PASS` value for the queue-db
# container.
FIREWORQ_MYSQL_DSN=
# Default job queue
FIREWORQ_QUEUE_DEFAULT=blast
# Max workers on the default queue
FIREWORQ_QUEUE_DEFAULT_MAX_WORKERS=5
FIREWORQ_BIND=0.0.0.0:80
FIREWORQ_DRIVER=mysql