mirror of
https://github.com/jmagar/unraid-mcp
synced 2026-04-21 13:37:53 +00:00
22 lines
610 B
YAML
22 lines
610 B
YAML
services:
|
|
unraid-mcp:
|
|
build: .
|
|
container_name: unraid-mcp
|
|
restart: unless-stopped
|
|
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
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "python -c \"import os, urllib.request; urllib.request.urlopen('http://localhost:%s/health' % os.getenv('UNRAID_MCP_PORT', '6970'))\""]
|
|
interval: 30s
|
|
timeout: 5s
|
|
start_period: 10s
|
|
retries: 3
|
|
|
|
volumes:
|
|
unraid-mcp-credentials:
|