mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 01:08:31 +02:00
containers without port mapped will no longer be served
This commit is contained in:
@@ -133,7 +133,9 @@ func (r *HTTPRoute) Start() E.NestedError {
|
||||
}
|
||||
}
|
||||
|
||||
if r.entry.IsDocker() && !r.entry.ContainerRunning {
|
||||
if r.entry.URL.Port() == "0" ||
|
||||
r.entry.IsDocker() && !r.entry.ContainerRunning {
|
||||
// TODO: if it use idlewatcher, set mux to dummy mux
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user