-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.toml.example
More file actions
62 lines (47 loc) · 1.42 KB
/
config.toml.example
File metadata and controls
62 lines (47 loc) · 1.42 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
[instance]
# Name of the instance; shows up in embeds.
name = "fxtumblr"
# Base domain of the instance.
domain = "example.com"
# Contact email listed on the index page.
contact_email = "changeme@example.com"
# List of strings to show next to the instance name.
motd = [""]
[tumblr]
# API keys to use for Tumblr API access. If multiple keys are given,
# fxtumblr will rotate between them if it hits a ratelimit.
api_keys = [
["consumer_key_FIXME", "consumer_secret_FIXME"],
]
[redis]
host = "localhost"
port = 6379
# password = ""
[stats]
# Whether or not to enable anonymous statistics. The following data is
# collected:
#
# - Hashed ID of the blog and post
# - Whether embedding finished succesfully or not
# - Whether the post was rendered or not
# - Which optional parameters (modifiers) were used
#
# The statistics are available over a Prometheus endpoint.
enabled = true
# The password for the stats endpoint.
password = "FIXME"
# Timeout after which statistics data is cleared, in seconds.
# Defaults to 30 days (60 * 60 * 24 * 30).
# timeout = 2592000
[render]
# Renderer process host/port.
host = "localhost"
port = 6500
# Render backend. Available options are:
# **Playwright-based** (requires "playwright"):
# - playwright-chromium
backend = "playwright-chromium"
# Path to the directory where renders will be cached
path = "/full/path/FIXME"
# Amount of renders that can happen simultaneously; default is 3
# worker_count = 3