Update docker-compose.yml

This commit is contained in:
Jacob Magar
2025-06-11 16:35:24 -04:00
parent 76588cf4e1
commit 00e07fad38
12 changed files with 1398 additions and 0 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
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
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.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)
# volumes:
# - ./logs:/app/logs # Example: maps ./logs on host to /app/logs in container