ChatGPT optimized for TensorRT v3
This commit is contained in:
parent
dadcd6050f
commit
646af6793c
|
|
@ -5,29 +5,36 @@ services:
|
|||
container_name: frigate
|
||||
image: ghcr.io/blakeblackshear/frigate:stable-tensorrt
|
||||
restart: unless-stopped
|
||||
shm_size: "2gb"
|
||||
stop_grace_period: 30s
|
||||
shm_size: "4gb"
|
||||
gpus: all
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
environment:
|
||||
TZ: Europe/Zurich
|
||||
NVIDIA_VISIBLE_DEVICES: all
|
||||
NVIDIA_DRIVER_CAPABILITIES: compute,video,utility
|
||||
LIBVA_DRIVER_NAME: nvidia
|
||||
devices:
|
||||
- /dev/bus/usb:/dev/bus/usb
|
||||
- /dev/dri:/dev/dri
|
||||
tmpfs:
|
||||
- /tmp/cache:size=4G
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /opt/frigate/config:/config
|
||||
- /opt/frigate/media:/media/frigate
|
||||
- type: tmpfs
|
||||
target: /tmp/cache
|
||||
tmpfs:
|
||||
size: 2000000000
|
||||
ports:
|
||||
- "5000:5000"
|
||||
- "1935:1935"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:5000/api/version"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 60s
|
||||
logging:
|
||||
driver: "json-file"
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "50m"
|
||||
max-size: "100m"
|
||||
max-file: "5"
|
||||
Loading…
Reference in New Issue