Self-hosted Supabase (VPS + Coolify): How to add / deploy Edge Functions?
self-hosted
realtime🤷otherHello Supabase community 
I’m running Supabase fully self-hosted on my own VPS (Hostinger) using Coolify + Docker, and everything is working correctly except Edge Functions. I’m struggling to understand the correct and recommended way to add and deploy them in a self-hosted environment.
* My current setup
- VPS (Hostinger)
- Docker + Coolify
- Supabase self-hosted (database, auth, storage, realtime, studio)
- All Supabase services are running correctly and accessible
Previously, I used Supabase Cloud, and I already have existing Edge Functions there
My problem
I don’t know how to properly add or deploy Edge Functions in my self-hosted Supabase setup.
How to connect them securely to my self-hosted Supabase (JWT, anon/service keys)
I’m running Supabase fully self-hosted on my own VPS (Hostinger) using Coolify + Docker, and everything is working correctly except Edge Functions. I’m struggling to understand the correct and recommended way to add and deploy them in a self-hosted environment.
* My current setup
- VPS (Hostinger)
- Docker + Coolify
- Supabase self-hosted (database, auth, storage, realtime, studio)
- All Supabase services are running correctly and accessible
Previously, I used Supabase Cloud, and I already have existing Edge Functions there
I don’t know how to properly add or deploy Edge Functions in my self-hosted Supabase setup.
How to connect them securely to my self-hosted Supabase (JWT, anon/service keys)

