Add Docker Compose dev stack and local Supabase setup

↗ view on GitHub · Nader · 2026-05-08 · b671622e

Two services in docker-compose.yml (frontend on :4000, backend on :4001)
with bind-mounted source for hot reload. Container command runs `npm install`
on start to work around a Docker Desktop named-volume init quirk where
node_modules from the image gets a partial copy when overlapped by a bind
mount.

`supabase init` scaffolding with the existing one-shot schema copied into
supabase/migrations/ so `supabase start` brings up Postgres + Auth +
Storage + Realtime locally and applies the schema automatically.

README: new "Run locally with Docker" section covering ports, env wiring
(host.docker.internal for server-side, localhost for browser), and the
storage bucket bootstrap.
Repository ecarjat/mike
Author Nader <naderbennour@outlook.com>
Authored
Parents d9690965
Stats 9 files changed , +922 , -1
Part of Local Docker dev stack with self-hosted Supabase

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-b671622e.md from inside the repo you want the change in.

⬇ Download capture-commit-b671622e.md