2024-06-22 10:09:41 +00:00
|
|
|
id = "paperclip01"
|
2024-05-17 07:59:51 +00:00
|
|
|
|
|
|
|
bind = "0.0.0.0:8443"
|
|
|
|
grpc_bind = "0.0.0.0:7443"
|
|
|
|
domain = "usercontent.solsynth.dev"
|
|
|
|
|
2024-08-03 07:43:15 +00:00
|
|
|
accepts_usage = [
|
|
|
|
"p.avatar",
|
|
|
|
"p.banner",
|
|
|
|
"i.attachment",
|
|
|
|
"m.attachment",
|
|
|
|
"sticker",
|
|
|
|
]
|
2024-05-17 07:59:51 +00:00
|
|
|
|
2024-07-28 16:53:40 +00:00
|
|
|
[workers]
|
|
|
|
files_deletion = 4
|
|
|
|
files_analyze = 4
|
|
|
|
|
2024-05-17 07:59:51 +00:00
|
|
|
[debug]
|
2024-05-20 14:31:55 +00:00
|
|
|
database = false
|
2024-05-17 07:59:51 +00:00
|
|
|
print_routes = false
|
|
|
|
|
2024-07-14 16:47:14 +00:00
|
|
|
[dealer]
|
|
|
|
addr = "127.0.0.1:7442"
|
2024-06-16 15:32:52 +00:00
|
|
|
|
2024-05-17 07:59:51 +00:00
|
|
|
[security]
|
|
|
|
cookie_domain = "localhost"
|
|
|
|
cookie_samesite = "Lax"
|
|
|
|
access_token_duration = 300
|
|
|
|
refresh_token_duration = 2592000
|
|
|
|
|
|
|
|
[database]
|
2024-06-01 14:15:41 +00:00
|
|
|
dsn = "host=localhost user=postgres password=password dbname=hy_paperclip port=5432 sslmode=disable"
|
2024-05-17 07:59:51 +00:00
|
|
|
prefix = "paperclip_"
|
|
|
|
|
2024-07-28 13:03:56 +00:00
|
|
|
[destinations.temporary]
|
2024-05-17 07:59:51 +00:00
|
|
|
type = "local"
|
2024-06-29 13:16:11 +00:00
|
|
|
path = "uploads"
|
2024-05-17 07:59:51 +00:00
|
|
|
|
2024-07-28 13:03:56 +00:00
|
|
|
[destinations.permanent]
|
2024-08-02 13:38:47 +00:00
|
|
|
type = "local"
|
|
|
|
path = "uploads/permanent"
|