30 lines
783 B
YAML
30 lines
783 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.0.0
|
|
container_name: ARR-MCP
|
|
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
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "import socket; s=socket.create_connection(('127.0.0.1',8000),3); s.close()"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
start_period: 20s
|
|
retries: 3
|