I am sure I have multiple issues here, but I am very stuck at: Volumes must be a mapping
Input or corrected code are appreciated.
container_name: Frigate
image: ghcr.io/blakeblackshear/frigate:stable
restart: always
devices:
- /dev/apex_0:/dev/apex_0 # passes a PCIe Coral
#- /dev/apex_1:/dev/apex_1 # passes a PCIe Coral
- /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
volumes:
- \wsl$\docker-desktop-data\frigate\config\config.yml:/config/config.yml
- \wsl$\docker-desktop-data\frigate\db:/db
- /mnt/d/Frigate Media:/media/frigate
- /dev/bus/usb:/dev/bus/usb
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- 5000:5000
- 1935:1935
environment:
FRIGATE_RTSP_PASSWORD: "asdf"