Docker + PHP 8.3 (Slim) Supabase Auth API from @open-templates. Same JSON contract as cf-*-supabase-api-template workers: GET /health, GET /me. Pairs with any Supabase Auth frontend (react-, vue-, svelte-, astro-supabase-auth-template).
Deploy on a VM with Docker Compose, optional Terraform + cloud-init on Oracle Cloud. See docs/DEPLOYMENT.md.
- Use this template on GitHub, then clone your repo.
- Personalize:
./scripts/init-from-template.sh(optional). - Configure and run:
cp .env.example .env
# SUPABASE_URL, SUPABASE_ANON_KEY, ALLOWED_ORIGINS
docker compose up -d
curl -s http://localhost:8080/healthDefault API base URL for frontends: http://localhost:8080 (VITE_API_BASE_URL).
| Doc | Purpose |
|---|---|
| INSTRUCTIONS.md | Adopter + agent guide |
| index.md | OKF feature index |
| docs/DEPLOYMENT.md | Docker, Oracle Terraform, manual VM |
| docs/SUPABASE_SETUP.md | Supabase project + OAuth |
- PHP 8.3, Slim 4, Guzzle → Supabase
auth/v1/user - Nginx + PHP-FPM (Compose)
- Terraform (Oracle) + cloud-init bootstrap
MIT