-
Notifications
You must be signed in to change notification settings - Fork 12
/
config.example.toml
74 lines (63 loc) · 2.49 KB
/
config.example.toml
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
[general]
# must be one of "error", "warning", "info" or "debug"
debug = "info"
# worker_type must be one of "releasing" or "recording"
# if you use type "recording", you can omit all other sections
# except for C3Tracker
worker_type = "releasing"
# operation mode must be one of "loop_until_empty", "loop_forever" or
# "single" (default).
# loop_until_empty: process all available tickets until none are available,
# then exit cleanly
# loop_forever: loop forever. wait two seconds if a ticket was processed,
# 30 seconds if no ticket was found
# single: process a single ticket, then exit.
run_mode = "single"
[C3Tracker]
group = "<group>"
#only set host if you don"t wont to use local machine name
host = "my-machine-name"
secret = "<secret>"
url = "<tracker url>"
[download.workers]
# list all available download tools here. Use whatever you want, as long
# as it supports directly downloading to a specific file name.
python = true # the value of this does not matter
wget = ["wget", "-q", "-O", "--TARGETPATH--", "--", "--DOWNLOADURL--"]
# "enable_default" below specifies the behaviour if the `Publishing.<service>.Enable`
# property is missing in a ticket. If "yes", using the service is enabled,
# otherwise it"s disabled.
[voctoweb]
# e.g. https://exmaple.com/api/ - with trailing slash
api_url = "<voctoweb api url>"
api_key = "<voctoweb key>"
# url your frontend is reachable on, used to build urls in tweets / toots - no trailing slash
frontend_url = "<voctoweb frontend url>"
# instance name is the name you refer to you"re instead with, its used for the tweets / toots
instance_name = "<voctoweb instance name>"
ssh_host = "<host to release files to>"
ssh_port = "<ssh port on the release host>"
ssh_user = "<ssh user on the release host>"
[youtube]
secret = "<youtube-api-secret>"
client_id = "<youtube-client-id>"
[twitter]
token = "<user token>"
token_secret = "<user secret>"
consumer_key = "<consumer key>"
consumer_secret = "<consumer secret>"
[mastodon]
api_base_url = "https://mastodon.social" # no trailing slash
email = "<loginemail>"
password = "<password>"
[bluesky]
username = "<username>"
app_password = "<app password>"
[rclone]
exe_path = "/path/to/rclone/binary"
config_path = "/path/to/rclone/config"
[defaults]
# For some properties, you can define defaults which get used if the
# property is not found in the ticket itself. Note that the property being
# empty in the ticket does also trigger a fallback to the default.
"Publishing.Twitter.Enable" = false