Closed mossroy closed 3 years ago
Hi @mossroy, Great work on this!
I made a few minor changes here. Mostly everything should work the same, I just tweaked the code slightly so that the logs directory could be moved into the same temporary location as the cookies you did, if needed.
Also, I updated the PHP and Debian versions Docker was using to build the image, just so it's running PHP 7.4 and an updated Debian version (Buster). Along with this, I hooked up support for Docker Compose using the Docker file you created, just so it's even easier to run, and updated the documentation (added your name as a contributor for your great work here).
I'll merge this in soon, but if you see anything related to the Docker updates, let me know.
Thanks, Ryan
This allows to build Docker images that run CensorDodge, like the one I created in https://hub.docker.com/repository/docker/mossroy/censordodge
This PR is based on the branch of #10, because it would not work without it : the php files are read-only in the generated docker image (which is good for security when it's possible), so the cookies have to be stored somewhere else