-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
33 lines (27 loc) · 1.33 KB
/
Copy path.env.example
File metadata and controls
33 lines (27 loc) · 1.33 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
# Runtime behavior
CODEBUDDY_AUTH_MODE=auto
CODEBUDDY_LOG_LEVEL=INFO
# Optional admin passkey RP ID override. Leave unset to use the request hostname.
# Must be a hostname only, without scheme, port, or path. Example: example.com or localhost
# CODEBUDDY_ADMIN_PASSKEY_RP_ID=example.com
# Optional upstream overrides
# CODEBUDDY_API_ENDPOINT=https://copilot.tencent.com
# CODEBUDDY_INTERNET_ENVIRONMENT=ioa
# Models are discovered from each saved credential. No model-list setting is needed.
# Optional file-backend data directory. Default: .codebuddy_data
# CODEBUDDY_STORAGE_FILE_DIR=.codebuddy_data
#
# Legacy compatibility only. Prefer CODEBUDDY_STORAGE_FILE_DIR instead.
# CODEBUDDY_CONFIG_PATH=.codebuddy_data/runtime.json
# Storage backend selection
# Default is file. If DATABASE_URL or CODEBUDDY_STORAGE_PG_URL is set,
# storage auto-switches to pg unless explicitly forced back to file.
# CODEBUDDY_STORAGE_BACKEND=file
# CODEBUDDY_STORAGE_PERSISTENCE=file
# PostgreSQL storage
# DATABASE_URL=postgres://user:password@127.0.0.1:5432/codebuddy2api
# CODEBUDDY_STORAGE_PG_URL=postgres://user:password@127.0.0.1:5432/codebuddy2api
# CODEBUDDY_STORAGE_IMPORT_LEGACY_FILES=true
# CODEBUDDY_STORAGE_ENCRYPTION_KEY=replace-me
# SQLite storage. Default path: .codebuddy_data/storage.sqlite
# CODEBUDDY_STORAGE_SQLITE_PATH=.codebuddy_data/storage.sqlite