mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-10 22:25:39 +00:00
f1b4007d7d
- fix: resolved_at, closed_at timestamps getting cleared. - feat: generic code editor for Email templates - feat: Quill editor for canned responses - Refactor: to reuse forms across /admin/conversations components - Update sample toml remove unused key. - Fix: multiple system user pass prompts when setting up for the first time - Remove unused file session.go - Fix: Inline images showing up in reply box as an attachment - Update vite config to proxy requests to `/uploads`
65 lines
944 B
TOML
65 lines
944 B
TOML
# App.
|
|
[app]
|
|
log_level = "debug"
|
|
env = "dev"
|
|
|
|
# HTTP server.
|
|
[app.server]
|
|
address = "0.0.0.0:9000"
|
|
socket = ""
|
|
read_timeout = "5s"
|
|
write_timeout = "5s"
|
|
max_body_size = 10000000
|
|
keepalive_timeout = "10s"
|
|
|
|
# File upload.
|
|
[upload]
|
|
provider = "fs"
|
|
|
|
# Filesytem provider.
|
|
[upload.fs]
|
|
upload_path = '/home/ubuntu/uploads'
|
|
|
|
# S3 provider.
|
|
[upload.s3]
|
|
url = ""
|
|
public_url = ""
|
|
access_key = ""
|
|
secret_key = ""
|
|
region = "ap-south-1"
|
|
bucket = "bucket"
|
|
bucket_path = ""
|
|
bucket_type = "private"
|
|
expiry = "15m"
|
|
|
|
# Postgres.
|
|
[db]
|
|
host = "127.0.0.1"
|
|
port = 5432
|
|
user = "postgres"
|
|
password = "postgres"
|
|
database = "database"
|
|
ssl_mode = "disable"
|
|
max_open = 10
|
|
max_idle = 10
|
|
max_lifetime = "10s"
|
|
|
|
# Redis.
|
|
[redis]
|
|
address = "127.0.0.1:6379"
|
|
password = ""
|
|
db = 0
|
|
|
|
[message]
|
|
dispatch_workers = 10
|
|
dispatch_scan_interval = "50ms"
|
|
incoming_queue_size = 5000
|
|
outgoing_queue_size = 5000
|
|
|
|
[notification]
|
|
concurrency = 2
|
|
queue_size = 100
|
|
|
|
[automation]
|
|
worker_count = 10
|