[openstreetmap/openstreetmap-website] [WIP] Add docker support (#2272)

Colin Smale colin.smale at xs4all.nl
Sat Jun 22 11:47:09 UTC 2019


Cancel that, found the answer already. Now it all falls into place.
Sorry for the interruption!

On 2019-06-22 13:42, Colin Smale wrote:

> Can someone please explain what the "UNIX socket vs Docker TCP connection issue" is all about? I am not a deep Docker expert, but I have some experience (including Kubernetes and OpenStack) and know a lot about UNIX, Linux and networking, but my brain can't imagine what this is actually about.
> 
> On 2019-06-22 12:28, Fazle Rabbi wrote: 
> 
> The developmentseed repo I mentioned earlier in this issue uses TCP connections instead of unix sockets to connect to he postgresql database. 
> 
> come to think of it, wouldn't that UNIX socket vs Docker tpc connection issue be applicable for rake db:migrate command as well? As far as I understand it also connects to the db PostgreSQL image and creates tables and function and it works ok. If so why it fails only on rake test:db. While I investigate that may be @gravitystorm [1] and @tomhughes [2] and help me understand the process better!? 
> 
> --
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub [3], or mute the thread [4]. 
> _______________________________________________
> rails-dev mailing list
> rails-dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/rails-dev

_______________________________________________
rails-dev mailing list
rails-dev at openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev 

Links:
------
[1] https://github.com/gravitystorm
[2] https://github.com/tomhughes
[3]
https://github.com/openstreetmap/openstreetmap-website/pull/2272?email_source=notifications&email_token=AAK2OLMGB7BGKVNGG3S7VZTP3X5GRA5CNFSM4HZNXSCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYKGLMY#issuecomment-504653235
[4]
https://github.com/notifications/unsubscribe-auth/AAK2OLLWQ4BC5HDYU7D6DDDP3X5GRANCNFSM4HZNXSCA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190622/1ed71e35/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blocked.gif
Type: image/gif
Size: 118 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190622/1ed71e35/attachment-0001.gif>


More information about the rails-dev mailing list