mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-06 03:51:14 +03:00
docker: cap compose log rotation
This commit is contained in:
parent
47a06c8b30
commit
b7fc1cb4cb
@ -1,6 +1,11 @@
|
|||||||
services:
|
services:
|
||||||
devcontainer:
|
devcontainer:
|
||||||
container_name: frigate-devcontainer
|
container_name: frigate-devcontainer
|
||||||
|
logging:
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: "10m"
|
||||||
|
max-file: "3"
|
||||||
# Check host system's actual render/video/plugdev group IDs with 'getent group render', 'getent group video', and 'getent group plugdev'
|
# Check host system's actual render/video/plugdev group IDs with 'getent group render', 'getent group video', and 'getent group plugdev'
|
||||||
# Must add these exact IDs in container's group_add section or OpenVINO GPU acceleration will fail
|
# Must add these exact IDs in container's group_add section or OpenVINO GPU acceleration will fail
|
||||||
group_add:
|
group_add:
|
||||||
@ -39,6 +44,11 @@ services:
|
|||||||
mqtt:
|
mqtt:
|
||||||
container_name: mqtt
|
container_name: mqtt
|
||||||
image: eclipse-mosquitto:2.0
|
image: eclipse-mosquitto:2.0
|
||||||
|
logging:
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: "10m"
|
||||||
|
max-file: "3"
|
||||||
command: mosquitto -c /mosquitto-no-auth.conf # enable no-auth mode
|
command: mosquitto -c /mosquitto-no-auth.conf # enable no-auth mode
|
||||||
ports:
|
ports:
|
||||||
- "1883:1883"
|
- "1883:1883"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user