Files
refboard-ayon/examples/compose/Caddyfile
T
Hiren KangadandClaude Opus 4.7 33d3109136 docs: deployment templates for Cloudflare Tunnel, Caddy, Fly.io, Render
examples/compose/cloudflared-paired.yml pairs RefBoard with a cloudflared
sidecar reading a TUNNEL_TOKEN env var — no inbound ports needed, suitable
for home / studio servers.

examples/compose/behind-caddy.yml + Caddyfile fronts RefBoard with Caddy
for automatic Let's Encrypt TLS on a public hostname. Caddy 2's
reverse_proxy transparently upgrades Socket.IO WebSockets.

examples/fly.toml deploys to Fly.io using the GHCR image and a persistent
volume mounted at /app/data. STORAGE_BACKEND=fs so the whole stack is one
machine with one disk.

examples/render.yaml is a Render.com Blueprint targeting the same shape
(GHCR image + attached disk + FS storage).

examples/README.md indexes everything and adds notes for Coolify /
Dokploy / CapRover / Railway, which consume the existing compose file
directly without a dedicated template.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-21 09:51:52 +05:30

15 lines
379 B
Caddyfile

{$REFBOARD_DOMAIN} {
encode zstd gzip
# Raise upload cap to match RefBoard's MAX_FILE_SIZE_MB. Caddy's default
# is 10MB; the value below permits up to 250MB request bodies.
request_body {
max_size 250MB
}
reverse_proxy refboard:8000 {
# WebSocket upgrade is automatic in Caddy 2; nothing extra needed.
flush_interval -1
}
}