mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-01 16:55:21 +03:00
Fix docker-compose syntax for mounting USB devices
Mounting a device as a volume returns the error: `creating device nodes caused: mkdir /var/lib/docker/overlay2/b8[...]3ee8f/merged/dev/bus/usb: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type`
This commit is contained in:
parent
e9b1618364
commit
28ad42d2e4
@ -40,8 +40,9 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
privileged: true
|
privileged: true
|
||||||
image: blakeblackshear/frigate:0.8.0-beta2-amd64
|
image: blakeblackshear/frigate:0.8.0-beta2-amd64
|
||||||
volumes:
|
devices:
|
||||||
- /dev/bus/usb:/dev/bus/usb
|
- /dev/bus/usb:/dev/bus/usb
|
||||||
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- <path_to_config>:/config
|
- <path_to_config>:/config
|
||||||
- <path_to_directory_for_clips>:/media/frigate/clips
|
- <path_to_directory_for_clips>:/media/frigate/clips
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user