# Supabase Docker assets

These files are bind-mounted by `docker-compose.yml` into the **Kong**, **Postgres (`db`)**, **Vector**, and **Edge Functions** containers. They are adapted from [Supabase self-hosted Docker](https://github.com/supabase/supabase/tree/master/docker/volumes).

- **`kong.yml`** — declarative gateway (Realtime upstream host set to `realtime`).
- **`kong-entrypoint.sh`** — substitutes environment variables into `kong.yml` before Kong starts (required because keys live in `.env`).
- **`db/*.sql`** — creates `_supabase`, `_realtime`, role passwords, JWT GUCs, and Logflare’s `_analytics` schema.
- **`logs/vector.yml`** — log routing (container name filters may differ from upstream `supabase-*` names when `COMPOSE_PROJECT_NAME` is custom).

Writable Storage files stay under **`../../volumes/storage/`** (git-ignored).
