lib/harbr/job.rb in harbr-0.2.9 vs lib/harbr/job.rb in harbr-0.2.10
- old
+ new
@@ -33,11 +33,11 @@
"servers" => [{"url" => "http://#{container.ip}:#{container.port}"}]
}
}
end
- File.write("/etc/traefik/harbr.toml", TomlRB.dump(config))
- puts "Traefik configuration written to /etc/traefik/harbr.toml"
+ File.write("/etc/traefik/providers/harbr.toml", TomlRB.dump(config))
+ puts "Traefik configuration written to /etc/traefik/providers/harbr.toml"
end
def collate_containers(name, host, port, host_header_aliases = [])
containers = Harbr::Container::Repository.new
container = containers.find_by_header(host)