Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Caddy is no longer required since everything is handled by Kong

Copple6f1c3055027c
diff --git a/apps/docs/pages/guides/self-hosting/docker.mdx b/apps/docs/pages/guides/self-hosting/docker.mdx
index 1b027cfb993..8d655d01b67 100644
--- a/apps/docs/pages/guides/self-hosting/docker.mdx
+++ b/apps/docs/pages/guides/self-hosting/docker.mdx
@@ -99,25 +99,6 @@ docker compose restart
Be aware that this will result in downtime while the services are restarting.
-## Exposing services
-
-The services running on the machine are not exposed to the internet by default. We recommend using a reverse proxy such as [NGINX](https://www.nginx.com/) or [Caddy](https://caddyserver.com/) if you want to expose the services publicly:
-
-1. Install Caddy using the official [instructions](https://caddyserver.com/docs/install).
-2. Modify the `Caddyfile` at `./docker/deploy/caddy/Caddyfile`.
- 1. Replace `localhost` with your domain.
- 2. Uncomment the "Dashboard" section if you want to expose the Supabase Dashboard. You **MUST** set a password for this to be secure.
-3. Run `caddy run --config ./docker/deploy/caddy/Caddyfile` to start Caddy.
-
-You can now access your services at the following URLs:
-
-- REST: `https://<your-domain>/proxy/rest/v1/`
-- Auth: `https://<your-domain>/proxy/auth/v1/`
-- Storage: `https://<your-domain>/proxy/storage/v1/`
-- Functions: `https://<your-domain>/proxy/functions/v1/`
-- Realtime: `https://<your-domain>/proxy/realtime/v1/`
-- Dashboard: `https://<your-domain>/` (if you uncommented the Dashboard section in the Caddyfile)
-
## Stop
You can stop Supabase by running `docker compose stop` in same directory as your `docker-compose.yml` file.
diff --git a/docker/deploy/caddy/Caddyfile b/docker/deploy/caddy/Caddyfile
deleted file mode 100644
index 10bbb85f6ed..00000000000
--- a/docker/deploy/caddy/Caddyfile
+++ /dev/null
@@ -1,19 +0,0 @@
-localhost
-
-## API Server
-## You can change this route to anything, however if you use /api/ then you will have conflicts
-## with the NextJS API routes in the Dashboard
-handle_path /proxy/* {
- uri replace /proxy/ /
- reverse_proxy 127.0.0.1:8000
-}
-
-# ## Dashboard
-# ## MAKE SURE YOU CHANGE THE PASSWORD BELOW BEFORE UNCOMMENTING THIS SECTION.
-# ## You can create a new password by running `caddy hash-password`
-# handle_path /* {
-# reverse_proxy 127.0.0.1:3000
-# basicauth /* {
-# supabase $2a$14$24w8H5T3D4hC74y6rdxgYOYqTna7K.zWbts/AheHuilnRrdPFGGhK ## IMPORTANT: CHANGE THIS PASSWORD
-# }
-# }