|
I'm trying to self-host Supabase using Docker Compose but I don't need the analytics/logging stack (Logflare + ClickHouse). It uses a lot of memory on my small VPS. Is it safe to remove those services from the docker-compose.yml? Will anything break? |
Replies: 2 comments 3 replies
|
Yes, Set LOGFLARE_LOGGER_BACKEND_API_KEY to any dummy value — some services check for it on startup. This is a common setup for resource-constrained environments. Hope that helps! |

Yes,
it's possible to run Supabase self-hosted without the analytics stack. You can remove or comment out the analytics and vector services from docker-compose.yml. A few things to note:
Set LOGFLARE_LOGGER_BACKEND_API_KEY to any dummy value — some services check for it on startup.
In kong.yml, remove or comment out the routes that proxy to the analytics service, otherwise Kong will error trying to reach a container that doesn't exist.
The Studio dashboard's "Logs" section will stop working since it queries Logflare. Everything else (Auth, Storage, DB, Realtime) continues normally.
This is a common setup for resource-constrained environments. Hope that helps!