Streamripper rips and splits online stream, Nginx hosts complete tracks with fancy indexing, notify.sh messages to telegram chat and moving files.
Edit docker-compose.yml and .env and run:
docker-compose up --build
tested with Docker version 18.09.1, docker-compose version 1.21.0
you need to clean up ./streamripper-nginx/incomplete dir occasionally because streamripper does not remove incomplete chunks.
streamripper and nginx contents are in separated dirs; inotify.sh moves complete files, overwriting or leaving files with bigger size, cleans up /incomplete and sending notifications.
graph LR;
stream-->streamripper;
streamripper<-->./streamripper-tmp/incomplete/;
streamripper-->./streamripper-tmp/;
./streamripper-tmp/incomplete/-.->id[inotify script]
id[inotify script]-.->notifications
./streamripper-tmp/-->id[inotify script]-->./streamripper-nginx/;
./streamripper-nginx/-->id1["nginx web index"];