How to properly configure the DNS configuration of the VirtualBox to resolve docker containers hostnames within the local network? -
here context
i have 3 container :
- container 1 : rest api
- container 2 : web application a.k.a "the dashboard"
- container 3 : database
my goal
i want stack run on top of mac osx or windows in order build coherent application accessible local network.
what need - dns configuration
when web application served container 2 client on local network, browser need communicate rest api running on container 1.
i able setup within web application hostname of container 2 e.g. server-api.local
Comments
Post a Comment