services: shell-mcp: build: context: . image: shell-mcp:mediabox container_name: shell-mcp restart: unless-stopped ports: # Published on the LAN so NPM on arrsstack can reach 10.0.1.20:8103. # No arrstack_arr_net here — that network lives on the Pi and does not # exist on this host. The bearer token is the only gate on this port. - "8103:8103" environment: - BEARER_TOKEN=${MEDIABOX_MCP_BEARER_TOKEN} - PORT=8103 - TZ=${TZ:-America/New_York} volumes: - /var/run/docker.sock:/var/run/docker.sock # pid: host + privileged + nsenter --target 1 is what gives this container # full root on the media box host, exactly as on arrsstack. pid: host privileged: true