From 90515e0f6d79eeacdac6f61762e772c75aa5f961 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Sun, 19 Jul 2026 12:21:43 +0200 Subject: [PATCH] fix(config): use dataplane container names in service URL defaults The homelab is retiring *.schweitz.internal and will rebind most published container ports from 0.0.0.0 to 127.0.0.1 (Phase 4), so host-IP:published-port URLs will stop working for container-to-container traffic. Point the .env.example defaults at docker-dataplane container names and INTERNAL ports instead: wiki:3000, neo4j:7687, searxng:8080 (internal port, not the 8087 host publish), paperless:8000, ollama:11434. All names and ports verified against the running containers. Also correct the AGENTS.md deploy health-check URL, which claimed the service runs on port 8000; it runs on 8089. static/wikijs-integration.js is left unchanged: it already derives the API base from its own script URL (document.currentScript.src, split on /static/) and only uses the hardcoded IP:8089 as a last-resort fallback. Co-Authored-By: Claude Fable 5 --- .env.example | 10 +++++----- AGENTS.md | 2 +- CHANGELOG.md | 4 ++++ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.env.example b/.env.example index 0533e54..4650001 100644 --- a/.env.example +++ b/.env.example @@ -1,13 +1,13 @@ # Service URLs for local dev (pointing to your server) TEST_HOST=192.168.86.149 -WIKIJS_URL=http://192.168.86.149:8088 -NEO4J_URI=bolt://192.168.86.149:7687 +WIKIJS_URL=http://wiki:3000 +NEO4J_URI=bolt://neo4j:7687 QDRANT_HOST=192.168.86.149 QDRANT_PORT=6333 -OLLAMA_URL=http://192.168.86.149:11434 -SEARXNG_URL=http://192.168.86.149:8080 +OLLAMA_URL=http://ollama:11434 +SEARXNG_URL=http://searxng:8080 REDIS_HOST=192.168.86.149 -PAPERLESS_URL=http://192.168.86.149:8091 +PAPERLESS_URL=http://paperless:8000 OLLAMA_LLM_MODEL=gemma4:e2b OLLAMA_EMBEDDING_MODEL=nomic-embed-text diff --git a/AGENTS.md b/AGENTS.md index 173623d..345a4ea 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -47,7 +47,7 @@ When changes are ready for deployment: 5. **CI/CD triggers automatically**: - Gitea CI builds Docker image on new tag - Watchtower pulls and deploys to production - - Verify deployment: `curl http://192.168.86.149:8000/health` + - Verify deployment: `curl http://192.168.86.149:8089/health` --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 89d0fc1..5d0ca6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- `.env.example` service URL defaults now use docker-dataplane container names (`wiki:3000`, `neo4j:7687`, `searxng:8080`, `paperless:8000`, `ollama:11434`) instead of host IP + published port, ahead of the Phase 4 port lockdown; AGENTS.md deploy health-check URL corrected from port 8000 to 8089. + ## [1.8.0] - 2026-07-14 ### Added