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
{{ message }}
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.
meaning, that I can access my services by DNS names - which might serve at least couple purposes:
I can have url's using similar schema to ones in production.
I can mock third party services, if their official clients do not support using different uri and need valid ssl certificates.
Single container might handle requests from multiple host names.
Why is this important to you?
Currently we have two configs - docker-compose and tye just because we can't fully control host names in tye and we need that for our integration tests, as we need to mock out several third party APIs.
The text was updated successfully, but these errors were encountered:
Where host.docker.internal:5055 is WireMock server running in tests and pretending to be one or another mocked API.
We're using self signed certificate, which we trust in other containers.
Currently we're not using routing to other local services, but that is due the fact, that for development locally we use tye for it's faster startup/easier debugging and docker-compose only for integration tests due to ability to do network aliases.
If tye would support network aliases, I think we would use routing to local services too, as we like to have same url schema as in prod (hence in IIS we use host names too - like api.local.domain.com).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What should we add or change to make your life better?
Docker compose has ability to add network aliases like this:
meaning, that I can access my services by DNS names - which might serve at least couple purposes:
Why is this important to you?
Currently we have two configs - docker-compose and tye just because we can't fully control host names in tye and we need that for our integration tests, as we need to mock out several third party APIs.
The text was updated successfully, but these errors were encountered: