更新 docker-compose.yml,调整卷路径配置
This commit is contained in:
+7
-3
@@ -23,11 +23,15 @@ services:
|
|||||||
# OPENCODE_MODE: client
|
# OPENCODE_MODE: client
|
||||||
# OPENCODE_CLIENT_BASE_URL: "http://host.docker.internal:4096"
|
# OPENCODE_CLIENT_BASE_URL: "http://host.docker.internal:4096"
|
||||||
volumes:
|
volumes:
|
||||||
- ${HOME}/.config/opencode:/root/.config/opencode
|
# - /home/ubuntu/.config/opencode:/root/.config/opencode
|
||||||
- ${HOME}/.local/share/opencode:/root/.local/share/opencode
|
# - /home/ubuntu/.local/share/opencode:/root/.local/share/opencode
|
||||||
- ./.opencode:/app/.opencode
|
- ./opencode/agents:/app/.opencode/agents
|
||||||
|
- ./opencode/skills:/app/.opencode/skills
|
||||||
|
- ./opencode/tools:/app/.opencode/tools
|
||||||
- ./logs:/app/logs
|
- ./logs:/app/logs
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
|
# extra_hosts:
|
||||||
|
# - "host.docker.internal:host-gateway"
|
||||||
ports:
|
ports:
|
||||||
- "8787:8787"
|
- "8787:8787"
|
||||||
# - "4096:4096"
|
# - "4096:4096"
|
||||||
|
|||||||
Reference in New Issue
Block a user