Files
AI-Profile-Router/services/arr-mcp/compose.yaml

38 lines
942 B
YAML

services:
arr-mcp:
build:
context: ../..
dockerfile: services/arr-mcp/Dockerfile
args:
ARR_MCP_VERSION: "1.0.1"
image: mike-ai/arr-mcp:1.1.0
container_name: ARR-MCP
init: true
restart: unless-stopped
network_mode: bridge
env_file:
- ${ARR_MCP_ENV_FILE:-/mnt/nvme-storage/appdata/ARR-MCP/arr-mcp.env}
ports:
- "${ARR_MCP_PUBLIC_PORT:-8207}:8000"
read_only: true
tmpfs:
- /tmp:rw,noexec,nosuid,nodev,size=64m
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
pids_limit: 256
mem_limit: 1g
cpus: 1.0
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=3)"]
interval: 30s
timeout: 5s
start_period: 20s
retries: 3