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 <noreply@anthropic.com>
This commit is contained in:
2026-07-19 12:21:43 +02:00
co-authored by Claude Fable 5
parent 83d9ade910
commit 90515e0f6d
3 changed files with 10 additions and 6 deletions
+5 -5
View File
@@ -1,13 +1,13 @@
# Service URLs for local dev (pointing to your server) # Service URLs for local dev (pointing to your server)
TEST_HOST=192.168.86.149 TEST_HOST=192.168.86.149
WIKIJS_URL=http://192.168.86.149:8088 WIKIJS_URL=http://wiki:3000
NEO4J_URI=bolt://192.168.86.149:7687 NEO4J_URI=bolt://neo4j:7687
QDRANT_HOST=192.168.86.149 QDRANT_HOST=192.168.86.149
QDRANT_PORT=6333 QDRANT_PORT=6333
OLLAMA_URL=http://192.168.86.149:11434 OLLAMA_URL=http://ollama:11434
SEARXNG_URL=http://192.168.86.149:8080 SEARXNG_URL=http://searxng:8080
REDIS_HOST=192.168.86.149 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_LLM_MODEL=gemma4:e2b
OLLAMA_EMBEDDING_MODEL=nomic-embed-text OLLAMA_EMBEDDING_MODEL=nomic-embed-text
+1 -1
View File
@@ -47,7 +47,7 @@ When changes are ready for deployment:
5. **CI/CD triggers automatically**: 5. **CI/CD triggers automatically**:
- Gitea CI builds Docker image on new tag - Gitea CI builds Docker image on new tag
- Watchtower pulls and deploys to production - 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`
--- ---
+4
View File
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [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 ## [1.8.0] - 2026-07-14
### Added ### Added