diff options
author | Florian Eckert <fe@dev.tdt.de> | 2020-07-29 09:17:01 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2020-07-29 09:17:01 +0200 |
commit | 02af2e6ecad06762edb4322031da031213591882 (patch) | |
tree | 4b925a200cc96908a76eda7df99e89c01c734a39 /applications/luci-app-dockerman/luasrc/model/cbi | |
parent | 182c3012da75f00f68890afe70258b67d96a9f88 (diff) |
luci-app-dockerman: add bip option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-dockerman/luasrc/model/cbi')
-rw-r--r-- | applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua index f1fc4f0270..dc20125e29 100644 --- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua +++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua @@ -120,6 +120,14 @@ if nixio.fs.access("/usr/bin/dockerd") then o.placeholder = "/opt/docker/" o:depends("remote_endpoint", 0) + o = s:option(Value, "bip", + translate("Default bridge"), + translate("Configure the default bridge network")) + o.placeholder = "172.17.0.1/16" + o.default = "172.17.0.1/16" + o.datatype = "ipaddr" + o:depends("remote_endpoint", 0) + o = s:option(DynamicList, "registry_mirrors", translate("Registry Mirrors")) o:value("https://hub-mirror.c.163.com", "https://hub-mirror.c.163.com") |