Gitea에 동적 클라이언트 등록이 없어 MCP 클라이언트가 URL만으로 OAuth 연결을 못 하는 문제를 이 브리지가 인가 서버 역할을 대신해 해결한다. G3X의 plane-mcp-oauth-bridge(upstream_oauth 모드)에서 가져와 Gitea 전용으로 정리했다: Plane PAT 연결 페이지·워크스페이스 헤더·bridge_mode 분기를 없앴다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
657 B
YAML
26 lines
657 B
YAML
# Gitea MCP OAuth bridge in front of gitea-mcp-oauth (git-mcp.sejong.dev via Caddy).
|
|
# Takes host port 13332, which Caddy forwards git-mcp.sejong.dev to; gitea-mcp-oauth
|
|
# has no host port and is reached over its compose network.
|
|
services:
|
|
bridge:
|
|
build: .
|
|
image: gitea-mcp-oauth-bridge:local
|
|
container_name: gitea-mcp-oauth-bridge
|
|
restart: unless-stopped
|
|
ports:
|
|
- "13332:48080"
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./data:/data
|
|
labels:
|
|
- com.centurylinklabs.watchtower.enable=false
|
|
networks:
|
|
- default
|
|
- gitea-mcp
|
|
|
|
networks:
|
|
gitea-mcp:
|
|
external: true
|
|
name: gitea-mcp-oauth_default
|