This is a basic docker-compose
set up that serves audio-feeder
on your local network using gunicorn
with a separate nginx
container serving static media content (e.g. your audiobooks).
I personally put the whole thing behind an nginx
reverse proxy with certbot
handling the certificates, but that is optional.
To use this:
- Clone this repository somewhere on your path.
- Copy
env_template
to.env
and fill out the environment variables. - Run
docker-compose build
to build the containers - Run
./install_audio_feeder.sh
to initialize the folders - Start up the docker containers with
docker-compose up -d
. - (Optional) Run
./install.sh
to install services to automatically update your audiobooks on a server. - Customize
config/audio_feeder/config.yml
as desired. - Run
docker-compose run audio_feeder audio_feeder update
or visit https://localhost:8080/update (or whatever endpoint is running your server) to trigger an initial database update (generating the feeds for your books) — this may take a while if you have a large number of audiobooks.
Finally, when these steps inevitably are incomplete or fail, send a PR to this repository improving the instructions for the next person 😉