conversion du mcp de local vers host web

This commit is contained in:
2026-05-31 19:54:39 +02:00
parent 23eb3f3c84
commit 684224d217
3808 changed files with 1145 additions and 411051 deletions
+27
View File
@@ -0,0 +1,27 @@
# TrueNAS Scale "Fangtooth" -> Apps -> Custom App -> paste this YAML.
# Image must be pushed to a registry the NAS can reach (Docker Hub / GHCR
# / or built locally on the NAS). Wiki is embedded in the image: no volume.
services:
mcp-wms-wiki:
image: ghcr.io/arthur-ria/mcp-wms-wiki:latest
container_name: mcp-wms-wiki
restart: unless-stopped
environment:
NODE_ENV: production
PORT: "3000"
HOST: "0.0.0.0"
WIKI_PATH: /app/wiki
# Comma-separated Host headers accepted by the MCP transport
# (DNS-rebinding protection). Must include the public hostname
# served by Nginx Proxy Manager.
MCP_ALLOWED_HOSTS: mcp-wms.arthur-ria.fr
ports:
# Expose only to the Docker network shared with NPM.
# If NPM runs on the same host network, "127.0.0.1:3000:3000" is enough.
- "3000:3000"
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/healthz"]
interval: 30s
timeout: 3s
retries: 3
start_period: 10s