Closed karawitan closed 2 years ago
I would be interested in a Docker setup as well.
Hi! @karawitan @ToddAGoodman I can easily make one. How would you expect it to behave? I'm asking as there are several ways I could approach this and I'd like to know what your expectations are / how you imagine it going when you do docker run
etc. Looking forward to hearing back from you.
Hi @ben-xo , One way to call the dir2cast container might be:
docker run -v /home/user/music:/www/music -p 80:80 benxo/dir2cast
That would export via http on port 80 the data below /home/user/music :)
Hi @ben-xo , One way to call the dir2cast container might be:
docker run -v /home/user/music:/www/music -p 80:80 benxo/dir2cast
That would export via http on port 80 the data below /home/user/music :)
Yes that seems reasonable. Basing it off php-fpm is probably the right way to do it, I'll look into that soon
I would agree this would make a lot of sense and me easy to execute. Keep features for me would be a container that allows me to deploy audiobooks in different directories each with its own RSS feed.
Also it would be nice too deploy via docker compose as well
So, the simplest way to do this is to use the official PHP apache docker image.
See https://hub.docker.com/_/php?tab=description&page=1&name=apache "Apache with a Dockerfile" instructions.
Rename dir2cast.php to index.php if you want it to be the default page.
I have opened a PR with an example docker-compose. Want to try it out?
This has now been merged, thank you for your help testing!
Hello, anyone would share a Dockerfile implementing a dir2cast instance on nginx ?