更新 docker-compose 配置,移除客户端模式注释
This commit is contained in:
@@ -19,6 +19,9 @@ services:
|
|||||||
OPENCODE_MODE: embedded
|
OPENCODE_MODE: embedded
|
||||||
OPENCODE_HOSTNAME: 0.0.0.0
|
OPENCODE_HOSTNAME: 0.0.0.0
|
||||||
OPENCODE_PORT: 4096
|
OPENCODE_PORT: 4096
|
||||||
|
# Client 模式:连接外部服务地址,不依赖容器内 CLI
|
||||||
|
# OPENCODE_MODE: client
|
||||||
|
# OPENCODE_CLIENT_BASE_URL: "http://host.docker.internal:4096"
|
||||||
volumes:
|
volumes:
|
||||||
- /home/ubuntu/.config/opencode:/root/.config/opencode
|
- /home/ubuntu/.config/opencode:/root/.config/opencode
|
||||||
- /home/ubuntu/.local/share/opencode:/root/.local/share/opencode
|
- /home/ubuntu/.local/share/opencode:/root/.local/share/opencode
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
"install:opencode": "bun install --cwd .opencode",
|
"install:opencode": "bun install --cwd .opencode",
|
||||||
"typecheck": "tsc --noEmit -p tsconfig.json",
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
||||||
"typecheck:opencode": "bun run --cwd .opencode typecheck",
|
"typecheck:opencode": "bun run --cwd .opencode typecheck",
|
||||||
"dev": "bun run typecheck:opencode && bun --watch src/server.ts",
|
"dev": "bun --watch src/server.ts",
|
||||||
"build": "bun run check",
|
"build": "bun run check",
|
||||||
"check": "bun run typecheck && bun run typecheck:opencode",
|
"check": "bun run typecheck && bun run typecheck:opencode",
|
||||||
"start": "bun src/server.ts",
|
"start": "bun src/server.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user