Align documentation and Docker configuration with current implementation

- 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>
This commit is contained in:
Jacob Magar
2025-08-13 06:53:56 -04:00
parent 493a376640
commit 4ef65eb5e1
6 changed files with 85 additions and 71 deletions

View File

@@ -1,10 +1,8 @@
services:
unraid-mcp:
image: unraid-mcp-server # Assumes you've built this image locally using 'docker build -t unraid-mcp-server .'
# Or, to build automatically if the image doesn't exist:
# build:
# context: .
# dockerfile: Dockerfile
build:
context: .
dockerfile: Dockerfile
container_name: unraid-mcp
restart: unless-stopped
ports:
@@ -12,7 +10,7 @@ services:
# Change the host port (left side) if 6970 is already in use on your host
- "6970:6970"
env_file:
- .env.local # Loads environment variables from .env.local 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.local points within this mount)
- .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