services: frigate: image: ghcr.io/blakeblackshear/frigate:stable restart: unless-stopped shm_size: "256mb" environment: - TZ=America/Chicago - FRIGATE_RTSP_PASSWORD=password volumes: - /data/configs/frigate/config:/config - /data/configs/frigate/media:/media/frigate - /etc/localtime:/etc/localtime:ro devices: - /dev/dri:/dev/dri networks: - traefik-public 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" deploy: mode: replicated replicas: 1 placement: constraints: - node.hostname == bart labels: [] resources: limits: memory: 2G networks: traefik-public: external: true