You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/codefresh-yaml/service-containers.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -544,8 +544,14 @@ steps:
544
544
{% endraw %}
545
545
{% endhighlight %}
546
546
547
-
Note: we do recommend you only use this option as a last resort. You should not hardcode "localhost" as a requirement in your services as
548
-
it adds extra constraints with integration tests (and especially with dynamic test environments).
547
+
>💡 Note
548
+
>
549
+
>We do recommend you only use this option as a last resort. You should not hardcode "localhost" as a requirement in your services as it adds extra constraints with integration tests (and especially with dynamic test environments).
550
+
551
+
>⚠️ Warning
552
+
>
553
+
>If`shared_host_network: true`, services will no longer be available by name.
554
+
>This means that you cannot mix access by name and localhost within one service group, you have to choose one and use`shared_host_network` attribute accordingly.
549
555
550
556
551
557
##Limitations
@@ -561,11 +567,3 @@ Service containers are not compatible with [custom pipeline steps]({{site.baseur