mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	Update README.md
change tmpfs size from 100MB to 1GB
This commit is contained in:
		
							parent
							
								
									b0b2d9d972
								
							
						
					
					
						commit
						19bbfce4ed
					
				@ -101,7 +101,7 @@ services:
 | 
			
		||||
      - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
 | 
			
		||||
        target: /tmp/cache
 | 
			
		||||
        tmpfs:
 | 
			
		||||
          size: 100000000
 | 
			
		||||
          size: 1000000000
 | 
			
		||||
    ports:
 | 
			
		||||
      - "5000:5000"
 | 
			
		||||
      - "1935:1935" # RTMP feeds
 | 
			
		||||
@ -114,7 +114,7 @@ If you can't use docker compose, you can run the container with something simila
 | 
			
		||||
docker run --rm \
 | 
			
		||||
--name frigate \
 | 
			
		||||
--privileged \
 | 
			
		||||
--mount type=tmpfs,target=/tmp/cache,tmpfs-size=100000000 \
 | 
			
		||||
--mount type=tmpfs,target=/tmp/cache,tmpfs-size=1000000000 \
 | 
			
		||||
-v /dev/bus/usb:/dev/bus/usb \
 | 
			
		||||
-v <path_to_directory_for_clips>:/media/frigate/clips \
 | 
			
		||||
-v <path_to_directory_for_recordings>:/media/frigate/recordings \
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user