From 160172403be07de60582b1e22b7c93c1ded3afea Mon Sep 17 00:00:00 2001 From: jjbrunton Date: Fri, 22 May 2026 19:29:37 +0100 Subject: [PATCH] Stop publishing ports 3000/6080 to the host MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Dokploy, traffic is routed through Traefik via the configured domain — publishing host ports caused a collision with another service already bound to 3000 on the same host. Switch to `expose` so the ports are reachable on the internal Docker network only. Co-Authored-By: Claude Opus 4.7 --- docker-compose.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 49a1bf4..0158c44 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,9 +11,11 @@ services: # Mount the data directory to persist the database and browser session volumes: - ./data:/app/data - ports: - - "3000:3000" # Web dashboard - - "6080:6080" # noVNC for human login + # Ports are NOT published to the host. Dokploy/Traefik routes traffic + # to the container's internal ports via configured domains. + expose: + - "3000" # Web dashboard + - "6080" # noVNC for human login environment: - OPENROUTER_API_KEY=${OPENROUTER_API_KEY} - REDDIT_USERNAME=${REDDIT_USERNAME}