mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-31 06:03:06 +02:00
databases without explicit alias(es) are now excluded by default
This commit is contained in:
@@ -83,6 +83,7 @@ func (p *DockerProvider) LoadRoutesImpl() (routes R.Routes, err E.NestedError) {
|
||||
func (p *DockerProvider) shouldIgnore(container D.Container) bool {
|
||||
return container.IsExcluded ||
|
||||
!container.IsExplicit && p.ExplicitOnly ||
|
||||
!container.IsExplicit && container.IsDatabase ||
|
||||
strings.HasSuffix(container.ContainerName, "-old")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user