From 04248bc692935fd27d1f613a2ba2b8ab589850d3 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 15 Dec 2025 12:06:47 -0700 Subject: [PATCH] Change web config port from 7681 to 7682 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Avoids conflict with fq51bbs which uses 7681 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- Dockerfile | 2 +- docker-compose.yml | 4 ++-- docker-entrypoint.sh | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 90ac68c..48f99f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -72,7 +72,7 @@ USER meshai VOLUME ["/data"] # Expose ttyd web config port -EXPOSE 7681 +EXPOSE 7682 # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \ diff --git a/docker-compose.yml b/docker-compose.yml index 921e8cf..d8ab725 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ # docker compose up -d # Start bot + web config # docker compose logs -f # View logs # -# Web config: http://localhost:7681 (TUI in browser) +# Web config: http://localhost:7682 (TUI in browser) # # Config is stored in the meshai_data volume at /data/config.yaml # @@ -30,7 +30,7 @@ services: ports: # Web-based config interface (ttyd) - - "7681:7681" + - "7682:7682" volumes: # Persistent data (database, config) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index fe83160..b135d29 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -64,12 +64,12 @@ weather: wttr: url: https://wttr.in EOF - echo "Default config created. Configure via http://localhost:7681" + echo "Default config created. Configure via http://localhost:7682" fi # Start ttyd for web-based config access -echo "Starting web config interface on port 7681..." -ttyd -W -p 7681 \ +echo "Starting web config interface on port 7682..." +ttyd -W -p 7682 \ -t titleFixed="MeshAI Config" \ -t 'theme={"background":"#0d1117","foreground":"#c9d1d9","cursor":"#58a6ff","selectionBackground":"#388bfd"}' \ -t fontSize=14 \ @@ -96,6 +96,6 @@ trap "kill %1 2>/dev/null; kill %2 2>/dev/null" EXIT echo "Starting MeshAI..." while true; do python -m meshai --config-file "$MESHAI_CONFIG" || true - echo "Bot exited. Check config at http://localhost:7681. Retrying in 5s..." + echo "Bot exited. Check config at http://localhost:7682. Retrying in 5s..." sleep 5 done