Files
PiAgentUI/docker/Caddyfile.gateway
Evandro b3489e1ede
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
🎉 Initial commit: PiAgentUI — AI Agent Desktop & Web UI
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
2026-06-01 00:50:06 -03:00

37 lines
761 B
Caddyfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
auto_https off
}
# ---- 主入口 :6658 — OpenCode 应用 ----
:6658 {
# API(SSE + WebSocket 自动处理)
handle_path /api/* {
reverse_proxy opencode-backend:4096 {
flush_interval -1
}
}
# Routes UI + Preview API(供面板切换预览端口)
@router path /routes /preview/*
handle @router {
reverse_proxy 127.0.0.1:7070
}
# 前端(兜底)
handle {
reverse_proxy opencode-frontend:3000
}
}
# ---- 开发服务入口 :6659 — 绑独立域名 ----
# 路径穿透 /p/{token}/ + 独占预览(兜底)
:6659 {
# 动态端口路由(由 router 自动生成)
import /etc/caddy/routes.conf
# 独占预览(兜底:未匹配路径穿透的请求走 preview 端口)
handle {
import /etc/caddy/preview.conf
}
}