services: frigate: image: ghcr.io/blakeblackshear/frigate:stable container_name: frigate restart: unless-stopped privileged: true shm_size: "512mb" network_mode: host environment: - TZ=America/Chicago - FRIGATE_RTSP_PASSWORD=password volumes: - /mnt/docker-data/configs/frigate/config:/config - /mnt/frigate-recordings:/media/frigate - /etc/localtime:/etc/localtime:ro devices: - /dev/dri:/dev/dri mem_limit: 12G memswap_limit: 12G healthcheck: test: ["CMD-SHELL", "curl -f http://localhost:5000/api/version || exit 1"] interval: 30s timeout: 10s retries: 3 start_period: 60s logging: driver: "json-file" options: max-size: "50m" max-file: "3"