forked from MG-RAST/Shock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shock-server.conf.template
56 lines (46 loc) · 1.38 KB
/
shock-server.conf.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
[Admin]
email=admin@host.com
[Anonymous]
# Controls an anonymous user's ability to read/write
# values: true/false
read=true
write=false
create-user=false
[Auth]
# defaults to local user management with basis auth
basic_auth=true
# comment line above and uncomment below to use Globus Online as auth provider
#globus_token_url=https://nexus.api.globusonline.org/goauth/token?grant_type=client_credentials
#globus_profile_url=https://nexus.api.globusonline.org/users
[Directories]
# See documentation for details of deploying Shock
site=/usr/local/shock/site
data=/usr/local/shock
logs=/var/log/shock
# Comma delimited search path available for remote path uploads. Only remote paths that prefix
# match one of the following will be allowed. Note: poor choices can result in security concerns.
local_paths=N/A
[External]
site-url=http://localhost
[SSL]
enable=false
#key=<path_to_key_file>
#cert=<path_to_cert_file>
[Mongodb]
# Mongodb configuration
# Hostnames and ports hosts=host1[,host2:port,...,hostN]
hosts=localhost
database=ShockDB
user=
password=
[Mongodb-Node-Indices]
# See http://www.mongodb.org/display/DOCS/Indexes#Indexes-CreationOptions for more info on mongodb index options.
# key=unique:true/false[,dropDups:true/false][,sparse:true/false]
id=unique:true
[Ports]
# Ports for site/api
# Note: use of port 80 may require root access
site-port=7444
api-port=7445
[Runtime]
GOMAXPROCS=