-
Notifications
You must be signed in to change notification settings - Fork 132
Expand file tree
/
Copy pathconfig.sqlite.example.yaml
More file actions
85 lines (77 loc) · 2.74 KB
/
Copy pathconfig.sqlite.example.yaml
File metadata and controls
85 lines (77 loc) · 2.74 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
app:
name: DEEIX Chat
# Required. Use prod and replace security values before public deployment.
env: dev
server:
# Optional. Defaults match docker-compose.sqlite.yml. Change only when exposed ports or public URLs differ.
http_port: "8080"
cors_allow_origin: "http://localhost:8080,http://127.0.0.1:8080"
trusted_proxies: "127.0.0.1/32,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,::1/128,fc00::/7"
public_api_base_url: "http://localhost:8080"
public_web_base_url: "http://localhost:8080"
frontend_dist_dir: "/app/frontend/out"
read_header_timeout_seconds: 10
read_timeout_seconds: 120
idle_timeout_seconds: 120
max_header_bytes: 1048576
security:
# Required. Replace both values with strong random secrets before deployment.
jwt_secret: "change-me-dev-jwt-secret"
data_encryption_key: "change-me-dev-data-encryption-key-32-bytes-min"
# Optional. Enable in production to block outbound requests to private or metadata networks.
ssrf_protection_enabled: false
# Optional. Override only when using a compatible Turnstile verification proxy.
turnstile_siteverify_url: "https://challenges.cloudflare.com/turnstile/v0/siteverify"
branding:
# Optional. Frontend product branding; changes take effect after restarting the app.
title: DEEIX Chat
short_name: DEEIX
description: DEEIX Chat is a multi-model AI conversation system.
logo_url: ""
favicon_url: /favicon.ico
pwa_icon_192_url: /pwa/icon-192.png
pwa_icon_512_url: /pwa/icon-512.png
pwa_maskable_icon_512_url: /pwa/icon-maskable-512.png
apple_touch_icon_180_url: /pwa/apple-touch-icon.png
database:
# Required. SQLite is intended for single-node deployments.
driver: sqlite
sqlite:
# Required. The SQLite database is stored under the persistent /app/data volume.
path: /app/data/deeix.db
dsn: ""
max_open_conns: 1
busy_timeout_ms: 5000
cache_size_kb: 20480
mmap_size_bytes: 268435456
synchronous: NORMAL
temp_store: MEMORY
cache:
# Required. Use memory for this single-process SQLite profile.
driver: memory
storage:
# Required. Use local for filesystem storage or s3 for object storage.
backend: local
local:
# Required. Local files are stored under the persistent /app/storage volume.
root_dir: /app/storage
s3:
# Required when storage.backend is s3.
endpoint: ""
region: auto
bucket: ""
prefix: ""
access_key_id: ""
secret_access_key: ""
force_path_style: true
geoip:
# Optional. Use none to disable, ipwhois for public lookup, or mmdb for a local GeoLite2/MMDB database.
provider: ipwhois
timeout_ms: 2500
observability:
tracing:
# Optional. Set endpoint to auto-enable tracing, or set enabled explicitly.
endpoint: ""
headers: ""
insecure: false
sampling_rate: 1