Files
mcp-wms-wiki/compose.yaml
T

28 lines
1.0 KiB
YAML

# 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