Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composite WaitForPort with ServiceName #273

Open
kegesch opened this issue Aug 17, 2022 · 1 comment
Open

Composite WaitForPort with ServiceName #273

kegesch opened this issue Aug 17, 2022 · 1 comment
Assignees
Labels
Milestone

Comments

@kegesch
Copy link

kegesch commented Aug 17, 2022

The WaitForPort("servicename", "80/tcp", 20000) works as expected on CompositeBuilder. However after adding .ServiceName("AlternativeName") the WaitForPort() does not work anymore:

Can't find host endpoint for container port: 80/tcp
  1. I assume ServiceName is the project name in docker compose?
  2. I assumed that changing the project name does not change the expected service name in WaitForPort().

Changing "servicename" to "AlternativeName_servicename" however works.

@mariotoffia mariotoffia self-assigned this Aug 22, 2022
@mariotoffia mariotoffia added this to To do in FluentDocker via automation Aug 22, 2022
@mariotoffia mariotoffia added this to the 3.0.0-RELEASE milestone Aug 22, 2022
@mariotoffia
Copy link
Owner

Hi @kegesch thanks for the bug report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
FluentDocker
  
To do
Development

No branches or pull requests

2 participants