Skip to content

A few containers to make and view timelapse videos from RTSP streams

License

Notifications You must be signed in to change notification settings

mcguirepr89/timelapse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

timelapse

A little tool to make timelapse videos from RTSP streams


How to build the Docker container (recommended)

  1. Ensure docker is installed

  2. Clone this repo: git clone https://github.com/mcguirepr89/timelapse.git

  3. Edit app/timelapse.conf (required)

  4. Edit crontab.example if you want to customize the schedule (optional)

  5. Make root the owner of the crontab: sudo chown root:root crontab.example (required)

  6. Edit docker-compose.yml if you want to change the ports caddy uses (default 80 & 443) (optional)

  7. Create volume for caddy: docker volume create caddy_data (required)

  8. Build the containers and bring up the services:

    1. Export your shell's environment for the build: (required)

      (Copy and paste the following into your shell):

      export uid=$(id -u)
      export gid=$(id -g)
      
    2. Bring up and build your new docker service: docker compose up -d

      OR

    • Just run bash setup to do both steps above in one go