Skip to content

NathanPERIER/motion-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

motion-docker

Build the container

docker build . -t motion

Run with Docker

Here is a docker-compose example :

version: '3.9'
  motion:
    image: motion:latest
    container_name: motion
    networks:
     - default
    volumes:
      - /path/to/conf:/etc/motion:ro
      - /path/to/logs:/var/log/motion
      - /path/to/data:/var/lib/motion
    devices:
      - /dev/video0:/dev/video0
    ports:
      - 8080:8080 # admin interface
      - 8081:8081 # /dev/video0
    user: 4000:44

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published