<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>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.</p>
<div> </div>
<p><br /></p>
<p>On 2019-06-22 12:28, Fazle Rabbi wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<p>The developmentseed repo I mentioned earlier in this issue uses TCP connections instead of unix sockets to connect to he postgresql database.</p>
</blockquote>
<p>come to think of it, wouldn't that UNIX socket vs Docker tpc connection issue be applicable for <code>rake db:migrate</code> command as well? As far as I understand it also connects to the <code>db</code> PostgreSQL image and creates tables and function and it works ok. If so why it fails only on <code>rake test:db</code>. While I investigate that may be <a class="user-mention" href="https://github.com/gravitystorm" target="_blank" rel="noopener noreferrer">@gravitystorm</a> and <a class="user-mention" href="https://github.com/tomhughes" target="_blank" rel="noopener noreferrer">@tomhughes</a> and help me understand the process better!?</p>
<p style="font-size: small; -webkit-text-size-adjust: none; color: #666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2272?email_source=notifications&email_token=AAK2OLMGB7BGKVNGG3S7VZTP3X5GRA5CNFSM4HZNXSCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYKGLMY#issuecomment-504653235" target="_blank" rel="noopener noreferrer">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLWQ4BC5HDYU7D6DDDP3X5GRANCNFSM4HZNXSCA" target="_blank" rel="noopener noreferrer">mute the thread</a>.<img src="cid:15612037465d0e142217a69237726349@xs4all.nl" width="1" height="1" /></p>
<!-- script not allowed --><br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br /> rails-dev mailing list<br /> <a href="mailto:rails-dev@openstreetmap.org">rails-dev@openstreetmap.org</a><br /> <a href="https://lists.openstreetmap.org/listinfo/rails-dev" target="_blank" rel="noopener noreferrer">https://lists.openstreetmap.org/listinfo/rails-dev</a></div>
</blockquote>
</body></html>