0.2.1 • Published 3 years ago

whaler-hosts-plugin v0.2.1

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

Whaler hosts plugin

This plugin add ability to call app services by domain name [service].[app].whaler.lh

Install

whaler plugins:install whaler-hosts-plugin

NB! 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/hosts file.

Install dnsmasq:

sudo apt-get install dnsmasq

Update 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_hosts container IP.

License

This software is under the MIT license. See the complete license in:

LICENSE
0.2.1

3 years ago

0.2.0

6 years ago

0.1.0

7 years ago