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>
This commit is contained in:
Hiren Kangad
2026-05-21 09:51:52 +05:30
co-authored by Claude Opus 4.7
parent 548d0c753a
commit 33d3109136
6 changed files with 244 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
{$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
}
}