Skip to content

armgit / ODS

Public Imported from GitHub
0

ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.

1.2 KB
Raw Blame
services:
  frigate:
    image: ghcr.io/blakeblackshear/frigate:0.15.0@sha256:dc77295ccc5a7258510ab6b1d9d5b7a339027305e2d29224338534febc4d1e89
    container_name: ods-frigate
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    shm_size: "128mb"
    ports:
      - "127.0.0.1:${FRIGATE_PORT:-8971}:5000"
      - "127.0.0.1:${FRIGATE_RTSP_PORT:-8554}:8554"
      - "127.0.0.1:${FRIGATE_WEBRTC_PORT:-8555}:8555/tcp"
      - "127.0.0.1:${FRIGATE_WEBRTC_PORT:-8555}:8555/udp"
    environment:
      - FRIGATE_RTSP_PASSWORD=${FRIGATE_RTSP_PASSWORD:?FRIGATE_RTSP_PASSWORD must be set}
    volumes:
      - ./data/frigate/config:/config
      - ./data/frigate/storage:/media/frigate
      - type: tmpfs
        target: /tmp/cache
        tmpfs:
          size: 1000000000
    healthcheck:
      test: ["CMD", "curl", "-f", "http://127.0.0.1:5000/api/version"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 60s
    networks:
      - ods-network
    deploy:
      resources:
        limits:
          cpus: '4.0'
          memory: 8G
        reservations:
          cpus: '1.0'
          memory: 2G

networks:
  ods-network:
    external: true