0.2.1 • Published 5 years ago
whaler-hosts-plugin v0.2.1
Whaler hosts plugin
This plugin add ability to call app services by domain name [service].[app].whaler.lh
Install
whaler plugins:install whaler-hosts-pluginNB! After plugin install, you need start at least one service, to enable it.
Get IP
docker inspect whaler_hosts --format '{{.NetworkSettings.Networks.whaler_hosts_nw.IPAddress}}'Dnsmasq
NB! Dnsmasq step is pure optional, but then you need manually add records to
/etc/hostsfile.
Install dnsmasq:
sudo apt-get install dnsmasqUpdate config file /etc/dnsmasq.conf with following line:
NB! If you have
address=/whaler.lh/[IP], remove it.
server=/whaler.lh/[IP]NB! Don't forget to replace IP with
whaler_hostscontainer IP.
License
This software is under the MIT license. See the complete license in:
LICENSE