Docker deployment
Docker fits local demos, private networks, and fully self-managed Postgres/MySQL with your existing ops practices.
Local quickstart
Section titled “Local quickstart”Same as Quick start:
git clone https://github.com/OctaFuse/octafuse-gateway.gitcd octafuse-gatewaydocker compose -f docker/compose/quickstart.yml up --buildProduction self-host
Section titled “Production self-host”- Provision DB: Postgres or MySQL with dedicated credentials.
- Configure env: copy
.env.example→.env, setDATABASE_URL,DATABASE_DRIVER=mysqlwhen needed,ADMIN_USERNAME/ADMIN_PASSWORD, etc. - Migrate:
npm run db:migrate:pgornpm run db:migrate:mysqlfrom repo root (per docs). - Run Proxy + Admin: Dockerfiles under the repo or your orchestrator.
- TLS: terminate HTTPS in front (Nginx/Caddy); split hostnames for Admin vs Proxy.
- Downstream env:
GATEWAY_URL,GATEWAY_MASTER_URL,GATEWAY_MASTER_KEY— Integration.
vs Cloudflare
Section titled “vs Cloudflare”- Need data residency + private networking → Docker/self-host.
- Need edge + managed D1 → Cloudflare Workers.