-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample_config.toml
51 lines (41 loc) · 1.36 KB
/
example_config.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
[aa]
# Actual config for AA service is provided in .env file
# Any settings in this section are just for AA users
url = "http://localhost:3001"
jwt = "foo.bar.baz" # Put shared JWT for AA here
[webhook]
host = "localhost:4321"
jwt = "" # shared JWT for webhook
# JWT secret key is passed in as JWT_SECRET through env var/file for security
[dirs]
# All paths should be absolute
files = "/path/to/file/storage/"
c2pa_manifest_templates = "/path/to/c2pa-manifest-templates/storage/"
enc_keys = "/path/to/metadata-encryption-key/storage/"
[folder_preprocessor]
sync_folder_root = "/path/to/sync/folder/"
[folder_database]
user = "user"
password = "password"
host = "postgres"
port = "5432"
database = "database"
[bins]
# All of these are optional.
# The CLI tools you use will tell you if they are needed.
rclone = "/usr/bin/rclone"
c2patool = "/usr/local/bin/c2patool"
w3 = "/usr/bin/w3" # https://web3.storage/docs/w3cli/
[c2pa]
private_key = "/path/to/c2pa/private.key"
sign_cert = "/path/to/c2pa/cert.pem"
[numbers]
# Numbers protocol
token = "MY_AUTH_TOKEN"
nft_contract_address = "0xabc" # Optional
[browsertrix]
# app.browsertrix.com
user = "user"
password = "password"
webhook_secret = "random_string" # A random string defined by us for auth in qs
signing_domains = [] # Default if unspecified is "signing.app.browsertrix.com"