♻️ Migrated to nexus
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
id = "paperclip01"
|
||||
|
||||
bind = "0.0.0.0:8443"
|
||||
grpc_bind = "0.0.0.0:7443"
|
||||
bind = "0.0.0.0:8004"
|
||||
grpc_bind = "0.0.0.0:7004"
|
||||
|
||||
nexus_addr = "localhost:7001"
|
||||
|
||||
[workers]
|
||||
files_deletion = 4
|
||||
@@ -11,29 +13,9 @@ files_analyze = 4
|
||||
database = true
|
||||
print_routes = false
|
||||
|
||||
[dealer]
|
||||
addr = "127.0.0.1:7442"
|
||||
|
||||
[security]
|
||||
cookie_domain = "localhost"
|
||||
cookie_samesite = "Lax"
|
||||
access_token_duration = 300
|
||||
refresh_token_duration = 2592000
|
||||
|
||||
[performance]
|
||||
file_chunk_size = 26214400
|
||||
|
||||
[database]
|
||||
dsn = "host=localhost user=postgres password=password dbname=hy_paperclip port=5432 sslmode=disable"
|
||||
prefix = "paperclip_"
|
||||
|
||||
[pools.aliases]
|
||||
"p.avatar" = "avatar"
|
||||
"p.banner" = "avatar"
|
||||
"i.attachment" = "interactive"
|
||||
"m.attachment" = "messaging"
|
||||
"sticker" = "sticker"
|
||||
|
||||
[destinations.temporary]
|
||||
type = "local"
|
||||
path = "uploads"
|
||||
@@ -41,3 +23,6 @@ path = "uploads"
|
||||
[destinations.permanent]
|
||||
type = "local"
|
||||
path = "uploads/permanent"
|
||||
|
||||
[security]
|
||||
internal_public_key = "keys/internal_public_key.pem"
|
||||
|
Reference in New Issue
Block a user