mirror of
https://github.com/jmagar/unraid-mcp
synced 2026-04-21 13:37:53 +00:00
- docker-compose: align network default fallback (jakenet) so service reference matches the network name: key value - entrypoint: match server-side boolean parsing for DISABLE_HTTP_AUTH (accept true/1/yes, consistent with settings.py) - ensure-ignore-files: deduplicate pattern list by driving awk from the REQUIRED shell array via a | -separated -v argument - sync-env: use grep -qE for ERE .+ instead of BRE .\+ (non-POSIX)
41 lines
934 B
YAML
41 lines
934 B
YAML
services:
|
|
unraid-mcp:
|
|
build: .
|
|
container_name: unraid-mcp
|
|
restart: unless-stopped
|
|
user: "${PUID:-1000}:${PGID:-1000}"
|
|
ports:
|
|
- "${UNRAID_MCP_PORT:-6970}:${UNRAID_MCP_PORT:-6970}"
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./logs:/app/logs
|
|
- ./backups:/app/backups
|
|
- unraid-mcp-credentials:/home/mcp/.unraid-mcp
|
|
networks:
|
|
- jakenet
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 1024M
|
|
cpus: "1.0"
|
|
healthcheck:
|
|
test:
|
|
- "CMD-SHELL"
|
|
- |
|
|
if [ "${UNRAID_MCP_TRANSPORT:-streamable-http}" = "stdio" ]; then
|
|
exit 0
|
|
fi
|
|
wget --quiet --tries=1 --spider "http://localhost:${UNRAID_MCP_PORT:-6970}/health"
|
|
interval: 30s
|
|
timeout: 5s
|
|
start_period: 30s
|
|
retries: 3
|
|
|
|
volumes:
|
|
unraid-mcp-credentials:
|
|
|
|
networks:
|
|
jakenet:
|
|
name: ${DOCKER_NETWORK:-jakenet}
|
|
external: true
|