SupabaseKong

SupabaseKong

Officielle

Application Docker from Raccommode's Repository

Vue d'ensemble

Kong is the API gateway used by the official self-hosted Supabase Docker stack. It routes Studio, Auth, REST, GraphQL, Realtime, Storage, and Edge Functions through a single public endpoint.

Exigences

This template runs only the Kong gateway container from the official Supabase Docker Compose stack. It requires the Supabase kong.yml and kong-entrypoint.sh files from supabase/docker/volumes/api mounted below. It does not install Studio, Auth, PostgREST, Realtime, Storage, Edge Runtime, Postgres Meta, or Postgres. Put all Supabase containers on the same custom Docker network and make sure the service hostnames used inside kong.yml, such as studio, auth, rest, realtime, storage, functions, and meta, resolve to the matching containers. Generate new Supabase keys before first use; never keep the example keys.

Arguments d'exécution

Interface utilisateur Web
http://[IP]:[PORT:8000]
Réseau
bridge
Coquille
bash
Privilégié
false
Paramètres supplémentaires
--entrypoint=/bin/bash

Configuration du modèle

HTTP Gateway PortPorttcp

Supabase HTTP API gateway port. Container port: 8000.

Cible
8000
Défaut
8000
Valeur
8000
HTTPS Gateway PortPorttcp

Supabase HTTPS API gateway port. Container port: 8443. Mount TLS files and set Kong SSL variables if you enable direct TLS here.

Cible
8443
Défaut
8443
Valeur
8443
Kong ConfigPathro

Official Supabase Kong declarative config copied from supabase/docker/volumes/api/kong.yml.

Cible
/home/kong/temp.yml
Défaut
/mnt/user/appdata/supabase-kong/kong.yml
Valeur
/mnt/user/appdata/supabase-kong/kong.yml
Kong EntrypointPathro

Official Supabase Kong entrypoint copied from supabase/docker/volumes/api/kong-entrypoint.sh.

Cible
/home/kong/kong-entrypoint.sh
Défaut
/mnt/user/appdata/supabase-kong/kong-entrypoint.sh
Valeur
/mnt/user/appdata/supabase-kong/kong-entrypoint.sh
TLS CertificatePathro

Optional TLS certificate for direct HTTPS on Kong. Usually a reverse proxy terminates TLS instead.

Cible
/home/kong/server.crt
TLS Private KeyPathro

Optional TLS private key for direct HTTPS on Kong. Usually a reverse proxy terminates TLS instead.

Cible
/home/kong/server.key
Database ModeVariable

Kong database mode. Supabase uses declarative DB-less config.

Cible
KONG_DATABASE
Défaut
off
Valeur
off
Declarative Config PathVariable

Generated Kong config path inside the container.

Cible
KONG_DECLARATIVE_CONFIG
Défaut
/usr/local/kong/kong.yml
Valeur
/usr/local/kong/kong.yml
DNS OrderVariable

Kong DNS resolution order used by the Supabase stack.

Cible
KONG_DNS_ORDER
Défaut
LAST,A,CNAME
Valeur
LAST,A,CNAME
DNS Not Found TTLVariable

Kong DNS negative cache TTL in seconds.

Cible
KONG_DNS_NOT_FOUND_TTL
Défaut
1
Valeur
1
PluginsVariable

Kong plugins required by the Supabase gateway config.

Cible
KONG_PLUGINS
Défaut
request-transformer,cors,key-auth,acl,basic-auth,request-termination,ip-restriction,post-function
Valeur
request-transformer,cors,key-auth,acl,basic-auth,request-termination,ip-restriction,post-function
Proxy Buffer SizeVariable

Kong Nginx proxy buffer size used by the Supabase stack.

Cible
KONG_NGINX_PROXY_PROXY_BUFFER_SIZE
Défaut
160k
Valeur
160k
Proxy BuffersVariable

Kong Nginx proxy buffers used by the Supabase stack.

Cible
KONG_NGINX_PROXY_PROXY_BUFFERS
Défaut
64 160k
Valeur
64 160k
Proxy Access LogVariable

Kong proxy access log target.

Cible
KONG_PROXY_ACCESS_LOG
Défaut
/dev/stdout combined
Valeur
/dev/stdout combined
SSL Certificate PathVariable

Optional TLS certificate path inside the container, for example /home/kong/server.crt.

Cible
KONG_SSL_CERT
SSL Key PathVariable

Optional TLS private key path inside the container, for example /home/kong/server.key.

Cible
KONG_SSL_CERT_KEY
Anon KeyVariable

Legacy anon API key generated for the Supabase stack.

Cible
SUPABASE_ANON_KEY
Service Role KeyVariable

Legacy service role API key. Never expose this key to client-side code.

Cible
SUPABASE_SERVICE_KEY
Publishable KeyVariable

Optional opaque publishable API key for newer self-hosted Supabase setups.

Cible
SUPABASE_PUBLISHABLE_KEY
Secret KeyVariable

Optional opaque secret API key for newer self-hosted Supabase setups. Never expose this key to client-side code.

Cible
SUPABASE_SECRET_KEY
Anon Asymmetric KeyVariable

Optional pre-signed asymmetric JWT API key for the anon role.

Cible
ANON_KEY_ASYMMETRIC
Service Role Asymmetric KeyVariable

Optional pre-signed asymmetric JWT API key for the service_role role.

Cible
SERVICE_ROLE_KEY_ASYMMETRIC
Dashboard UsernameVariable

Basic auth username for Supabase Studio through Kong.

Cible
DASHBOARD_USERNAME
Défaut
supabase
Valeur
supabase
Dashboard PasswordVariable

Basic auth password for Supabase Studio through Kong. Set a secure password before first start.

Cible
DASHBOARD_PASSWORD

Détails

Référentiel
kong/kong:3.9.1
Dernière mise à jour2026-06-01
Première vue2026-05-24

Exécutez SupabaseKong sur Unraid.

SupabaseKong est listé dans Community Apps pour Unraid OS. Explorez Unraid pour créer un serveur domestique flexible, un NAS ou un laboratoire domestique.