-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCaddyfile.example
More file actions
25 lines (23 loc) · 817 Bytes
/
Copy pathCaddyfile.example
File metadata and controls
25 lines (23 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Brain — example Caddy reverse proxy config (TLS via Let's Encrypt + a domain)
#
# Usage: copy to Caddyfile, replace the two domains below, then either run
# Caddy directly (`caddy run`) or add it as a 4th service in docker-compose.yml:
#
# caddy:
# image: caddy:2-alpine
# restart: unless-stopped
# ports: ["80:80", "443:443"]
# volumes:
# - ./Caddyfile:/etc/caddy/Caddyfile
# - caddy-data:/data
# depends_on: [dashboard, mcp-auth-proxy]
#
# (and add `caddy-data:` under the top-level `volumes:` in docker-compose.yml)
brain.example.com {
reverse_proxy dashboard:7860
}
mcp.example.com {
# Bearer auth happens inside mcp-auth-proxy itself (pipeline/mcp_auth_proxy.py)
# — Caddy here is just TLS termination + a stable public hostname.
reverse_proxy mcp-auth-proxy:7862
}