original project: https://github.com/oliverjrose99/Recordurbate. I just changed some things so it would run nice in a docker container.
Download docker-compose if you dont have that already
pip install docker-composeDownload the repo
git clone https://github.com/LootScooper/docker-recordurbate.git
cd docker-recordurbateThen you edit the docker-compose.yml with an editor of your choice. And change " - /srv/sto1/recordubate:/videos" on line 9. You need to change "/srv/sto1/recordubate" to your video path.
Put streamer or streamers in config.json
Run!!
docker-compose upOr if you want to run your container detached (In the background)
docker-compose up -dhttps://docs.docker.com/compose/
git clone https://github.com/LootScooper/docker-recordurbate.git
cd docker-recordurbate/recordurbate
docker build . -t recordurbate
docker start -d --restart unless-stopped -v your-config-folder:/data -v my-video-folder:/videos recordurbateMake sure you copy config.json and youtube-dl.config to your config folder. And to put streamer or streamers in config.json
{
"youtube-dl_cmd": "youtube-dl",
"auto_reload_config": true,
"rate_limit": true,
"rate_limit_time": 5,
"streamers": ["streamer1", "streamer2", "streamer3"]
}{
"youtube-dl_cmd": "youtube-dl",
"auto_reload_config": true,
"rate_limit": true,
"rate_limit_time": 5,
"streamers": ["streamer1"]
}- support environment variables