Home · Docs · On-site box · macOS

macOS

macOS is a lab box, not the plant default.

Docker Desktop on a Mac runs the same image. MediaMTX cannot use Linux host networking, so you use the Desktop overlay. Prefer Linux in the building.

Need

Install

curl -fsSL -O https://dutywall.com/download/dutywall-standalone.tar.gz
tar -xzf dutywall-standalone.tar.gz
cd dutywall-standalone-*
cp .env.standalone.example .env
# set DUTYWALL_BASE_URL=http://<Mac-LAN-IP>:8090 and a real DUTYWALL_PANEL_PASSWORD
docker compose -f docker-compose.yml -f docker-compose.windows.yml up -d --build

The file is named docker-compose.windows.yml because Docker Desktop (Windows or Mac) cannot do Linux network_mode: host. Same overlay, same reason.

Confirm

curl -sS http://127.0.0.1:8090/healthz

Panel: http://<Mac-LAN-IP>:8090/. Allow 8090 in the macOS firewall if TVs cannot reach it.

Cameras: same caveats as Windows Desktop.