rglauco/mike
Self-hosting focus: Supabase-optional Postgres, Ollama LLM support, and local file storage via Docker Compose
rglauco/mike is built around making Mike deployable without Supabase. The two substantive changes add an AUTH_MODE=local runtime switch backed by a PgAdapter query builder over self-hosted Postgres, and an Ollama provider alongside local on-disk file storage as an alternative to Supabase Storage.
The Docker Compose infrastructure (backend Dockerfile, frontend Dockerfile, compose.yml with named volumes, Postgres init SQL) makes the self-hosted path concrete. The fork also pulls upstream changes regularly - two sync merges from willchen96/main (jsonb handling and tabular security fixes) keep it from drifting.
The AUTH_MODE=local feature shipped with several bugs caught only in live use: PgAdapter parity gaps around maybeSingle, jsonb serialization, and upsert SQL generation were all patched after the initial commit. The fixes are in; audit the adapter surface before treating it as production-ready.
What's in it
- Self-hosted deployment path A containerised setup with a local database, so the whole stack can run on your own servers without depending on a hosted backend.
- Local language models Support for running models on your own machine rather than calling out to a cloud provider - useful when client data can't leave the building.
- On-disk file storage Documents and uploads live on local storage instead of a third-party object store, rounding out the cloud-free deployment story.
- Tracking upstream Mike rglauco is actively merging in upstream fixes and security work, so the fork keeps pace with the main project rather than drifting.
Direction
infrastructuresecurity
Activity
Threads of work (detailed view)
rglauco lets you run Mike entirely on your own servers
A new switch swaps Mike's hosted cloud backend for a self-contained stack you control.
AUTH_MODE=local: self-hosted Postgres, JWT auth, and Docker Compose as a Supabase-free option
rglauco adds a runtime flag that swaps Supabase for a self-hosted Postgres instance with JWT auth and a full Docker Compose stack. The existing route layer stays untouched. Getting it to actually work took five follow-up patches.
rglauco keeps the whole stack in-house
This fork lets you run Mike - models and documents alike - without anything leaving your own hardware.
Ollama provider and local file storage for self-hosted deployments
rglauco adds Ollama as a first-class LLM provider and rewrites the file storage layer to support on-disk storage without Supabase Storage or R2. Together these make a fully self-hosted Mike deployment viable.