mirror of
https://github.com/jmagar/unraid-mcp.git
synced 2026-03-01 16:04:24 -08:00
- Fix README.md: Make Docker deployment recommended, remove duplicate installation section - Fix Dockerfile: Copy correct source files (unraid_mcp/, uv.lock, README.md) instead of non-existent unraid_mcp_server.py - Update docker-compose.yml: Enable build configuration and use .env instead of .env.local - Add missing environment variables to .env.example and .env: UNRAID_AUTO_START_SUBSCRIPTIONS, UNRAID_MAX_RECONNECT_ATTEMPTS - Fix CLAUDE.md: Correct environment hierarchy documentation (../env.local → ../.env.local) - Remove unused unraid-schema.json file 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
688 B
YAML
17 lines
688 B
YAML
services:
|
|
unraid-mcp:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: unraid-mcp
|
|
restart: unless-stopped
|
|
ports:
|
|
# HostPort:ContainerPort (maps to UNRAID_MCP_PORT inside the container, default 6970)
|
|
# Change the host port (left side) if 6970 is already in use on your host
|
|
- "6970:6970"
|
|
env_file:
|
|
- .env # Loads environment variables from .env in the same directory as this docker-compose.yml
|
|
# Optional: If you want to mount a specific directory for logs (ensure UNRAID_MCP_LOG_FILE in .env points within this mount)
|
|
# volumes:
|
|
# - ./logs:/app/logs # Example: maps ./logs on host to /app/logs in container
|