-
Notifications
You must be signed in to change notification settings - Fork 7
/
stork.conf
66 lines (54 loc) · 2.22 KB
/
stork.conf
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
# Scheduler Settings
# ==================
# Sets the maximum number of concurrent jobs. (Default: 10)
max_jobs = 10
# Number of times a job can be rescheduled. Set to 0 for no limit.
# (Default: 10)
max_attempts = 10
# The maximum lifetime of a request, in seconds. Requests that take longer than
# this time are cancelled. Set to 0 for no limit. (Default: 5)
request_timeout = 5
# Path to be used to periodically store server state and also to load server
# state from, relative to the STORK_HOME directory. Comment out to disable
# automatic state saving and state recovery.
state_file = "stork.json"
# Seconds between automatic state saving. (Default: 120)
#state_save_interval = 120
# Network Settings
# ================
# The interface(s) for the Stork server to listen for client requests on. This
# can be either a URL or a list of URLs. If this value is not set, the Stork
# server will attempt to bind to the same endpoint that client commands use for
# outgoing connections.
listen = ["tcp://127.0.0.1:57024", "http://127.0.0.1:8080/api/stork/"]
# Enable serving of static web content from the web directory in STORK_HOME.
# This variable should be an HTTP URL string. The path component of this URL
# defines the server path prefix. This URL must not conflict with any client
# interfaces defined in the "listen" variable. If not set, serving of static
# web content will be disabled.
web_service_url = "http://127.0.0.1:8080/"
# User Settings
# =============
# Require users to register to use the system. (Default: true)
registration = true
# Keep up to this many URLs in a user's history. Set to 0 or a negative number
# to disable history. (Default: 10)
max_history = 10
# Module Settings
# ===============
# Dropbox module configuration. If this or any of its fields are missing, the
# Dropbox module is disabled.
dropbox = {
key = "r6oz0fat2pmfldv"
secret = "1esxloucodgngns"
redirect = "http://127.0.0.1:8080/api/stork/oauth"
}
# Miscellaneous Settings
# ======================
# Disable command line output.
#quiet = true
# Enable HTCondor compatibility mode for use with HTCondor applications
# expecting legacy Stork output and semantics.
#condor_mode = false
# The SMTP server to use for outgoing mail.
smtp_server = "smtp.buffalo.edu"