glitchtip: default to port 8100 to avoid Supabase Kong (8000) collision

This commit is contained in:
Moheeb Zara
2026-05-21 17:39:00 -07:00
parent b72e628c14
commit ad4b9f5a12
3 changed files with 12 additions and 8 deletions
+3 -2
View File
@@ -10,10 +10,11 @@ SECRET_KEY=
# Public base URL GlitchTip uses to build DSNs and links. For the default # Public base URL GlitchTip uses to build DSNs and links. For the default
# localhost + SSH-tunnel setup leave as-is; for a reverse-proxied subdomain # localhost + SSH-tunnel setup leave as-is; for a reverse-proxied subdomain
# set e.g. https://glitchtip.example.com # set e.g. https://glitchtip.example.com
GLITCHTIP_DOMAIN=http://localhost:8000 GLITCHTIP_DOMAIN=http://localhost:8100
# Host port the dashboard binds to (127.0.0.1 only, see docker-compose.yml). # Host port the dashboard binds to (127.0.0.1 only, see docker-compose.yml).
GLITCHTIP_PORT=8000 # Default 8100 to avoid Supabase's Kong gateway, which uses 8000.
GLITCHTIP_PORT=8100
# Let the first visitor self-register the initial admin user, then turn this # Let the first visitor self-register the initial admin user, then turn this
# off (set to False and `docker compose up -d`) to close registration. # off (set to False and `docker compose up -d`) to close registration.
+6 -5
View File
@@ -21,11 +21,12 @@ docker compose up -d
``` ```
`migrate` runs once automatically, then `web` + `worker` start. The dashboard `migrate` runs once automatically, then `web` + `worker` start. The dashboard
binds to `127.0.0.1:8000` only (no public surface). Reach it either by: binds to `127.0.0.1:8100` only (port 8100 by default so it does not collide with
Supabase's Kong gateway on 8000; no public surface). Reach it either by:
- an SSH tunnel: `ssh -L 8000:127.0.0.1:8000 you@your-host` then open - an SSH tunnel: `ssh -L 8100:127.0.0.1:8100 you@your-host` then open
`http://localhost:8000`, or `http://localhost:8100`, or
- your own reverse proxy / TLS in front of `127.0.0.1:8000` (set - your own reverse proxy / TLS in front of `127.0.0.1:8100` (set
`GLITCHTIP_DOMAIN` to that URL). `GLITCHTIP_DOMAIN` to that URL).
## Connect the app ## Connect the app
@@ -33,7 +34,7 @@ binds to `127.0.0.1:8000` only (no public surface). Reach it either by:
1. In GlitchTip: register the first user, create an Organization, then a 1. In GlitchTip: register the first user, create an Organization, then a
Project (platform: Node/JavaScript). Copy the Project's **DSN**. Project (platform: Node/JavaScript). Copy the Project's **DSN**.
2. Set `SENTRY_DSN=<that DSN>` in the app's environment and restart the app. 2. Set `SENTRY_DSN=<that DSN>` in the app's environment and restart the app.
(For the localhost setup the DSN host will be `localhost:8000`; the app (For the localhost setup the DSN host will be `localhost:8100`; the app
reaches GlitchTip over the loopback on the same host.) reaches GlitchTip over the loopback on the same host.)
3. Turn off open registration: set `ENABLE_OPEN_USER_REGISTRATION=False` in 3. Turn off open registration: set `ENABLE_OPEN_USER_REGISTRATION=False` in
`.env` and `docker compose up -d`. `.env` and `docker compose up -d`.
+3 -1
View File
@@ -60,7 +60,9 @@ services:
REDIS_URL: redis://redis:6379/0 REDIS_URL: redis://redis:6379/0
PORT: 8080 PORT: 8080
ports: ports:
- '127.0.0.1:${GLITCHTIP_PORT:-8000}:8080' # Default 8100 (not 8000) so it does not collide with Supabase's Kong
# gateway, which binds 8000 on a self-hosted Supabase host.
- '127.0.0.1:${GLITCHTIP_PORT:-8100}:8080'
depends_on: depends_on:
postgres: postgres:
condition: service_healthy condition: service_healthy