Skip to content

Conversation

@davidfowl
Copy link
Member

  • When the app is in a container we need to tell it to communicate over the container host instead of local host. Not all SDKs support this new env variable, but we set it anyways (.NET works).

- When the app is in a container we need to tell it to communicate over the container host instead of local host. Not all SDKs support this new env variable, but we set it anyways (.NET works).
@ghost ghost added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Dec 6, 2023
/// <summary>
/// Helpers to resolve host names when running in a containers.
/// </summary>
public class HostNameResolver
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be shared source, made it public for now.

@davidfowl davidfowl enabled auto-merge (squash) December 6, 2023 06:13
@davidfowl davidfowl merged commit f2788ea into main Dec 6, 2023
@davidfowl davidfowl deleted the davidfowl/dapr-containers branch December 6, 2023 08:23
@github-actions github-actions bot locked and limited conversation to collaborators Apr 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants