-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File Watcher for rules does not work #683
Comments
Are you on a bare metal Ubuntu, or are ou using a VM ? |
It's a bare metal server. I'm using the latest docker version 1.12.1 in docker swarm mode. I also tested it on a second server from digital ocrean (I assume that those are VMs) with the same result |
@emilevauge As an intermediate solution: Is there a manual way to make traefik reload the file - e.g. via a curl call? |
I am having the same issue. I have to stop and start the traefik container for getting configuration updated. [file]
filename = "/etc/traefik/rules.toml"
watch = true The file works and is found, because the rules are loaded. |
I found the reason for this. In our case, the rules.toml have been mapped to a shared drive (gluster) and it seems that Traefik uses inotofy to detect changes for the rules-file. But gluster doesn't support inotify yet... |
I can confirm this with our gluster drive as well. |
I started traefik like this:
The config lists:
This works fine and the rules.toml is located outside the container. However, if I modify it, traefik does not automatically reload the rules.
Is there a way to make traefik manually reload the rules?
The text was updated successfully, but these errors were encountered: