change codeserver port to 8085 to avoid conflict with nextcloud

This commit is contained in:
janson 2022-11-21 08:45:40 +08:00
parent 54a07ce85c
commit eeaeb9dfc5
5 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
include $(TOPDIR)/rules.mk
PKG_VERSION:=1.0.0-20221114
PKG_VERSION:=1.0.0-20221121
PKG_RELEASE:=
LUCI_TITLE:=LuCI support for CodeServer

View File

@ -19,7 +19,7 @@ s.addremove=false
s.anonymous=true
o = s:option(Value, "http_port", translate("HTTP Port").."<b>*</b>")
o.default = "8082"
o.default = "8085"
o.datatype = "string"
o = s:option(Value, "image_name", translate("Image").."<b>*</b>")

View File

@ -18,7 +18,7 @@ local container_running = container_status == "running"
if container_running then
local port=util.trim(util.exec("/usr/libexec/istorec/codeserver.sh port"))
if port == "" then
port="8443"
port="8085"
end
-%>
<div class="cbi-value cbi-value-last">

View File

@ -1,5 +1,5 @@
config main
option 'http_port' '8082'
option 'http_port' '8085'
option 'image_name' 'lscr.io/linuxserver/code-server:latest'
option 'config_path' ''
option 'env_password' ''

View File

@ -24,7 +24,7 @@ do_install() {
exit 1
fi
[ -z "$http_port" ] && http_port=8082
[ -z "$http_port" ] && http_port=8085
local cmd="docker run --restart=unless-stopped -d -v \"$config:/config\" \
--dns=172.17.0.1 \