[openstreetmap/openstreetmap-website] Add Docker Compose Support for Development Environment (#2409)

Andy Allan notifications at github.com
Wed Jan 6 18:54:02 UTC 2021


I'm keen to see this finished and merged, but I've run out of time this week for a second review. 

What I should mention is that when I tried it previously it slightly messed up my regular development environment. This is, as far as I can figure out, because when I ran the docker container it wrote some cache files to the `project_repo/tmp` directory *as root* (:nauseated_face:). When I then tried to run rails outside of the container, everything failed since my regular user couldn't update those files. I had to do some `find . -group root | sudo xargs rm` outside of the container to get rid of them.

I'm not sure if it's possible to avoid this, i.e. configure it so that whenever a process within the container writes to the non-containerised filesystem, for it to do so as my user instead of root. But I thought I would mention it in case any Docker experts know how to do this.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2409#issuecomment-755513698
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210106/709c5608/attachment.htm>


More information about the rails-dev mailing list