mirror of
https://github.com/umputun/reproxy.git
synced 2025-02-16 18:34:30 +02:00
reproxy.port to enable container
This commit is contained in:
parent
2670144e8a
commit
9b9d64894d
@ -126,6 +126,11 @@ func (d *Docker) List() ([]discovery.URLMapper, error) {
|
||||
}
|
||||
}
|
||||
|
||||
// should not set anything, handled on matchedPort level. just use to enable implicitly
|
||||
if _, ok := c.Labels["reproxy.port"]; ok {
|
||||
enabled = true
|
||||
}
|
||||
|
||||
if !enabled {
|
||||
log.Printf("[DEBUG] container %s disabled", c.Name)
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user