services:
  macos:
    image: dockurr/macos
    container_name: macos-${IP}-${PORT_WEB}-${PORT_VNC}
    environment:
      VERSION: ${MACOS_VERSION}
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - ${IP}:${PORT_WEB}:8006
      - ${IP}:${PORT_VNC}:5900/tcp
      - ${IP}:${PORT_VNC}:5900/udp
    stop_grace_period: 2m

# 15	macOS 15	Sequoia
# 14	macOS 14	Sonoma
# 13	macOS 13	Ventura
# 12	macOS 12	Monterey
# 11	macOS 11	Big Sur