A little tool to make timelapse videos from RTSP streams
-
Ensure docker is installed
-
Clone this repo:
git clone https://github.com/mcguirepr89/timelapse.git
-
Edit
app/timelapse.conf
(required) -
Edit
crontab.example
if you want to customize the schedule (optional) -
Make
root
the owner of the crontab:sudo chown root:root crontab.example
(required) -
Edit
docker-compose.yml
if you want to change the portscaddy
uses (default 80 & 443) (optional) -
Create volume for
caddy
:docker volume create caddy_data
(required) -
Build the containers and bring up the services:
-
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)
-
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
-