diff --git a/docker-compose.yml b/docker-compose.yml index f0f1e89..5365e26 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ services: frigate: container_name: frigate privileged: true # this may not be necessary for all setups - restart: unless-stopped + restart: always image: ghcr.io/blakeblackshear/frigate:stable shm_size: "1024mb" # update for your cameras based on calculation above devices: @@ -13,8 +13,8 @@ services: - /dev/dri/renderD128:/dev/dri/renderD128 # For intel hwaccel, needs to be updated for your hardware volumes: - /etc/localtime:/etc/localtime:ro - - /media/frigate/config:/config - - /media/frigate/media:/media/frigate + - /media/storage/frigate/config:/config + - /media/storage/frigate/media:/media/frigate - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear target: /tmp/cache tmpfs: