docker_mdns
docker_mdns
Automatic docker mdns announcer designed to work with traefik.
Installation
shards build
cp bin/docker_mdns /usr/local/bin
cp docker-mdns@.service /etc/systemd/system
systemctl daemon-reload
systemctl enable docker-mdns@{your_interface}
systemctl start docker-mdns@{your_interface}
Usage
Label your local containers with:
traefik.http.routers.<service_name>.rule = Host(`chosen_hostname.local`)
traefik.http.services.<service_name>.loadbalancer.server.port = <port>
Development
Warning: This is a home solution / shit code.
Contributing
- Fork it (https://gitlab.com/viraptor/docker_mdns/-/forks/new)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Stanisław Pitucha - creator and maintainer
Repository
docker_mdns
Owner
Statistic
- 8
- 3
- 1
- 0
- 1
- 2 months ago
- April 1, 2020
License
Apache License 2.0
Links
Synced at
Thu, 07 Nov 2024 18:45:22 GMT
Languages