-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (46 loc) · 2.19 KB
/
Copy pathdocker-compose.yml
File metadata and controls
48 lines (46 loc) · 2.19 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
# Support legacy Compose syntax; shell variables override automatic .env interpolation.
version: "3.8"
services:
codebuddy2api:
image: ${CODEBUDDY2API_IMAGE:-ghcr.io/maiphucgiang/codebuddy2api:1.2.8}
build: .
container_name: codebuddy2api
ports:
- "${CODEBUDDY2API_BIND:-127.0.0.1}:${CODEBUDDY2API_PORT:-8787}:8787"
volumes:
# Persist credentials, SQLite databases and WAL/SHM files in one writable local directory.
- "${CODEBUDDY2API_AUTH_PATH:-./auth}:/data/auth"
environment:
CODEBUDDY2API_KEY: ${CODEBUDDY2API_KEY:-}
CODEBUDDY2API_ADMIN_CSRF: ${CODEBUDDY2API_ADMIN_CSRF:-true}
# First-Buddy onboarding may send one bounded real WorkBuddy conversation per account.
CODEBUDDY2API_AUTO_ACCEPT_BUDDY: ${CODEBUDDY2API_AUTO_ACCEPT_BUDDY:-false}
# Unset variables remain configurable through the WebUI.
CODEBUDDY2API_ADMIN_ORIGINS:
CODEBUDDY2API_KEEP_TOOL_METADATA:
CODEBUDDY2API_MAX_IMAGES: ${CODEBUDDY2API_MAX_IMAGES:-16}
CODEBUDDY2API_IMAGE_POLICY: ${CODEBUDDY2API_IMAGE_POLICY:-truncate}
CODEBUDDY2API_MAX_REQUEST_BYTES: ${CODEBUDDY2API_MAX_REQUEST_BYTES:-33554432}
CODEBUDDY2API_LOG_BODY_LIMIT: ${CODEBUDDY2API_LOG_BODY_LIMIT:-65536}
CODEBUDDY2API_LOG: ${CODEBUDDY2API_LOG:-}
CODEBUDDY2API_MAX_INBOUND_BYTES: ${CODEBUDDY2API_MAX_INBOUND_BYTES:-67108864}
CODEBUDDY2API_MAX_COLLECT_BYTES: ${CODEBUDDY2API_MAX_COLLECT_BYTES:-8388608}
CODEBUDDY2API_MAX_CONCURRENT: ${CODEBUDDY2API_MAX_CONCURRENT:-64}
CODEBUDDY2API_UPSTREAM_KEEPALIVE:
CODEBUDDY2API_MAX_INFLIGHT_PER_ACCOUNT:
CODEBUDDY2API_REQUEST_CONTEXT_MODE:
CODEBUDDY2API_MODEL_CAPABILITY_GUARD:
CODEBUDDY2API_TOOL_CALL_MAX_RETRY: ${CODEBUDDY2API_TOOL_CALL_MAX_RETRY:-3}
CODEBUDDY2API_FAILOVER_MAX:
CODEBUDDY2API_RETRY_WRITE_TIMEOUT:
CODEBUDDY_IMPORT_DIR: ${CODEBUDDY_IMPORT_DIR:-/data/auth/imports}
# Bind container interfaces; host port mapping controls external access.
CODEBUDDY2API_ALLOW_OPEN_NOAUTH: "true"
CODEBUDDY_AUTH_DIR: /data/auth
command: >
python3 converter.py
--host 0.0.0.0
--port 8787
--skip-check
--desensitize
restart: unless-stopped