Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite090ff2

Browse files
committed
docs(service-containers): describeshared_host_network: true pitfalls
Closes #CR-16710
1 parent4fe0827 commite090ff2

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

‎_docs/codefresh-yaml/service-containers.md‎

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,14 @@ steps:
544544
{% endraw %}
545545
{% endhighlight %}
546546

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.
549555
550556

551557
##Limitations
@@ -561,11 +567,3 @@ Service containers are not compatible with [custom pipeline steps]({{site.baseur
561567
*[Integration tests]({{site.baseurl}}/docs/testing/integration-tests/)
562568
*[Integration test with database]({{site.baseurl}}/docs/yaml-examples/examples/integration-tests-with-database/)
563569
*[Creating Compositions]({{site.baseurl}}/docs/on-demand-test-environment/create-composition/)
564-
565-
566-
567-
568-
569-
570-
571-

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp