version: "3.1"
services:
frigate:
container_name: frigate-dockercompose
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "484mb" # update for your cameras based on calculation above
restart: always
volumes:
Mounting a remote volume:
#sudo apt install sshfs
#sudo mkdir /mnt/
#sudo sshfs -o allow_other Tawfik@192.168.1.100:/share/Dyar153/recordings/ /home/tawfik/Videos/
# can use this on a remote server or on same server at a specific folder
- /home/tawfik/docker/frigate/config/frigate.yaml:/config/config.yaml
- /home/tawfik/docker/frigate/:/media/frigate
- /home/tawfik/Videos/:/media/frigate # secind line will be ignored
# if using as a local server then will be
# using same logic can get the config file from a emote server or on same server at a specific folder
#- /home/tawfik/frigate/frigate.yaml:/config/config.yaml
#- /home/tawfik/frigate/media:/media/frigate
#- //192.168.1.100/dyar153/recordings:/media/frigate
ports:
- 5000:5000
- 1935:1935
environment:
TZ: Africa/Cairo
FRIGATE_RTSP_PASSWORD: Newipad1
Path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
devices:
- /dev/ttyACM0:/dev/ttyACM0
volumes:
#Mounting a remote volume:
#sudo apt install sshfs
#sudo mkdir /mnt/<folder name>
#sudo sshfs -o allow_other Tawfik@192.168.1.100:/share/Dyar153/recordings/ /home/tawfik/Videos/
# can use this on a remote server or on same server at a specific folder
- /home/tawfik/docker/z2mqtt:/app/data
- /run/udev:/run/udev:ro
# if using as a local server then will be
# using same logic can get the config file from a emote server or on same server at a specific folder
#- /home/tawfik/frigate/frigate.yaml:/config/config.yaml
#- /home/tawfik/frigate/media:/media/frigate
#- //192.168.1.100/dyar153/recordings:/media/frigate
ports:
- 8081:8080
environment:
TZ: Africa/Cairo
#FRIGATE_RTSP_PASSWORD: Newipad1!
#Path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
version: "3.1" services: frigate: container_name: frigate-dockercompose image: ghcr.io/blakeblackshear/frigate:stable shm_size: "484mb" # update for your cameras based on calculation above restart: always volumes:
Mounting a remote volume:
- /home/tawfik/Videos/:/media/frigate # secind line will be ignored
version: "3.7"
services:
mqtt5_dockercompose: image: eclipse-mosquitto container_name: mqtt5_dockercompose ports:
volumes for mapping data,config and log
volumes:
config:
data:
log:
networks:
default:
name: mqtt5-network
version: "3.1"
services:
z2mqtt_dockercompose: container_name: z2mqtt_dockercompose image: koenkk/zigbee2mqtt restart: always
priviliged: true
version: '3'
services:
homeassistant: container_name: homeassistant-dockercompose image: "ghcr.io/home-assistant/home-assistant:stable" volumes: