Revert deletion

This commit is contained in:
lmojzis 2022-12-31 05:31:28 +01:00 committed by GitHub
parent f2654a6f9b
commit 8064b3ba05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,14 @@ services:
frigate:
...
image: blakeblackshear/frigate:stable
deploy: # <------------- Add this section
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0'] # this is only needed when using multiple GPUs
count: 1 # number of GPUs
capabilities: [gpu]
environment:
NVIDIA_VISIBLE_DEVICES: all # add this variable as well (or adjust it as needed when you have multiple GPUs)
NVIDIA_DRIVER_CAPABILITIES: compute,utility,video # probably not needed