mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
chore: move Caddyfile into docker/
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1bdb0be3a8
commit
e78539b2a3
3 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ services:
|
|||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||
- ./docker/Caddyfile:/etc/caddy/Caddyfile
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
depends_on:
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ DigitalOcean is a good fit for self-hosting Fabro on a Droplet — a plain Linux
|
|||
|
||||
- `docker-compose.yaml` pulls the pre-built image from GHCR and declares a named volume for `/storage`
|
||||
- `docker-compose.prod.yaml` adds a [Caddy](https://caddyserver.com) sidecar that terminates TLS and auto-provisions Let's Encrypt certificates
|
||||
- `Caddyfile` reverse-proxies HTTPS traffic to the Fabro server
|
||||
- `docker/Caddyfile` reverse-proxies HTTPS traffic to the Fabro server
|
||||
|
||||
<Note>
|
||||
**Why not App Platform?** DigitalOcean App Platform has no persistent volumes — it is designed for stateless workloads that offload state to managed Postgres or Spaces. Fabro writes runs, checkpoints, sessions, and JWT keys to `/storage`, so a Droplet (or any VPS) is the right fit. If you prefer Kubernetes, DOKS works too — that path is not documented here.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue