Build & Push Frontend Docker Image / build-and-push (push) Canceled after 0s
Build Validation / validate (push) Canceled after 6s
Build & Push Backend Docker Image / build-and-push (push) Failing after 10m10s
Build & Push Gateway Docker Image / build-and-push (push) Failing after 10m9s
A professional workspace for AI coding agents with: - Real-time streaming chat with SSE - Session management (fork, clone, tree navigation) - MCP tools browser & metadata panel - Skills browser (global, project, package sources) - Voice input & STT provider configuration - Integrated terminal & file explorer - Model selector with capability metadata - Keyboard-first UI with command palette - 8 languages (en, pt-BR, es, ja, zh-CN, ar, bn, hi) - Tauri 2 desktop app - React 19 + TypeScript + Vite 8 + Tailwind CSS 4 - Pi Agent extension runtime Originally forked from OpenCodeUI, now an independent project. License: GPL-3.0-only
22 lines
428 B
Caddyfile
22 lines
428 B
Caddyfile
# OpenCode WebUI - 纯前端独立部署
|
||
# 静态文件 + API 反代到外部 opencode serve
|
||
|
||
:3000 {
|
||
# API 反代(strip /api 前缀,SSE 需要 flush_interval -1)
|
||
handle_path /api/* {
|
||
reverse_proxy {$BACKEND_URL:host.docker.internal:4096} {
|
||
header_up Host {upstream_hostport}
|
||
flush_interval -1
|
||
}
|
||
}
|
||
|
||
# 前端静态文件
|
||
handle {
|
||
root * /srv
|
||
file_server
|
||
try_files {path} /index.html
|
||
}
|
||
|
||
encode gzip
|
||
}
|