-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
config.example.toml
50 lines (42 loc) · 1.25 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
# domain = "localhost:9000"
[db]
# AWS region
# omit to use AWS_REGION env var
# not necessary for DynamoDB local
#region = "us-west-2"
# Table prefix
# tables are created on startup if they don't exist
prefix = "Tube-"
# for real DynamoDB, comment this out:
endpoint = "http://localhost:8880"
region = "local" # region can be anything for DynamoDB local
# ridiculously verbose DB debugging when true
debug = false
# Blob storage configuration
[storage]
# Bucket names
# "uploads bucket" is what users upload their files to before processing
# you can set a TTL or periodically purge it
# "files bucket" contains tracks organized by user and album art
# you can use the same bucket for both if you want (not recommended)
uploads_bucket = "intertube-uploads"
files_bucket = "intertube"
### MinIO configuration
# this matches docker-compose.yml's settings
# useful for local dev
type = "s3"
region = "local"
endpoint = "http://localhost:9000/"
access_key_id = "root"
access_key_secret = "password"
### Cloudflare R2
# type = "r2"
# access_key_id = "xxx"
# access_key_secret = "yyy"
# cloudflare_account = "zzz"
# domain = "example.com" # currently unused
### Backblaze B2
# type = "b2"
# access_key_id = "aaaaaa"
# access_key_secret = "bbbbb/cccc"
# region = "us-west-002"