1.0.2 • Published 4 years ago
@framework-tools/ingress-dns v1.0.2
dockerdnsproxy
Run docker containers on port 80 through a proxy with docker aliases
Requirements
- Add 127.0.0.1 to your DNS
MacOS:
networksetup -setdnsservers Wi-Fi 127.0.0.1 8.8.8.8
sudo killall -HUP mDNSResponder8.8.8.8 is Google's Public DNS Server
- Install nodemon globally
- Install docker
- Run
npm i
Windows As administrator:
netsh interface show configLocate the network connection for which you want the DNS server changed (eg: WiFi).
netsh interface ipv4 add dns "WiFi" 127.0.0.1 index=1
netsh interface ipv4 add dns "WiFi" 8.8.8.8 index=2
ipconfig /flushdnsStarting proxy + dns server
nodemonand in a seperate shell
docker-compose upTodo
- Setup automatic DNS update
- Windows
- MacOS
- Slim code
- Start docker automatically from node
- Attach each docker to network automatically
- Create docker-compose instructions