Expose Novelly API port + service-key auth for MCP access to QA deploy
CI / build-and-push (push) Successful in 46s
CI / deploy (push) Successful in 9s

MCP server is a stdio process run outside docker, pointed at the API
over HTTP via NOVELLY_API_URL. The api container previously had no
port mapping, so it was unreachable outside the compose network.
This commit is contained in:
James Wampler
2026-08-21 09:42:10 -07:00
parent 64fff4f1f7
commit bb2a499569
3 changed files with 7 additions and 0 deletions
+3
View File
@@ -17,10 +17,13 @@ services:
Agent__Model: claude-sonnet-5
Agent__Effort: high
Imports__RootPath: /data/imports
Auth__ServiceApiKey: ${MCP_API_KEY:-}
volumes:
- /mnt/storage/apps/novelly/data:/data
networks:
- novelly
ports:
- "${API_PORT:-5080}:8080"
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://localhost:8080/api/health || exit 1"]
interval: 10s