Skip to content

Self-hosted monitoring for homelabs: host and container metrics and uptime checks from all your machines in one dashboard, with an optional AI agent that diagnoses incidents and suggests fixes.

fix(server): don't publish the backend port on the server

karloks2005ec40332556c1
diff --git a/docker-compose.server.yml b/docker-compose.server.yml
index d6e2efd..ce90419 100644
--- a/docker-compose.server.yml
+++ b/docker-compose.server.yml
@@ -50,10 +50,9 @@ services:
# Only the first account can register; set to true to let others sign up.
ALLOW_REGISTRATION: ${ALLOW_REGISTRATION:-false}
CORS_ORIGINS: ${CORS_ORIGINS:-http://localhost:5173}
- # Browsers and remote collectors reach the API through the frontend at /api;
- # the direct port is only published on this machine for debugging.
- ports:
- - "127.0.0.1:8000:8000"
+ # No host port: nginx (frontend) reaches the backend over the Compose network,
+ # and browsers/collectors use https://<domain>/api. Avoids clashing with other
+ # services on the server. Debug with: docker compose exec backend ...
depends_on:
postgres:
condition: service_healthy