Expose Novelly API port + service-key auth for MCP access to QA deploy
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user