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"
|
|
|
|
secret = "LtTjzAGFLshwXhN4ZD4nG5KlMv1MWcsvfv03TSZYnT1VhiAnLIZFTnHUwR0XhGgi"
|
|
|
|
|
|
|
|
accepts_usage = ["p.avatar", "p.banner", "i.attachment", "m.attachment"]
|
|
|
|
|
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-05-17 07:59:51 +00:00
|
|
|
type = "s3"
|
|
|
|
bucket = "bucket"
|
|
|
|
endpoint = "s3.ap-east-1.amazonaws.com"
|
|
|
|
secret_id = "secret"
|
|
|
|
secret_key = "secret"
|
2024-05-20 14:31:55 +00:00
|
|
|
enable_ssl = true
|