修正端口配置

This commit is contained in:
okxlin 2023-04-14 00:15:48 +08:00
parent 0ef6396ef0
commit e2cf70d2f2
4 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,2 @@
CONTAINER_NAME="looking-glass"
PANEL_APP_PORT_HTTP="20080"

View File

@ -0,0 +1,15 @@
{
"formFields": [
{
"type": "number",
"labelZh": "网页端口",
"labelEn": "WebUI Port",
"required": true,
"default": 20080,
"rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP",
"edit": true
}
]
}

View File

@ -5,7 +5,7 @@ services:
restart: unless-stopped
network_mode: "host"
environment:
- HTTP_PORT=20080
- HTTP_PORT=${PANEL_APP_PORT_HTTP}
image: wikihostinc/looking-glass-server
labels:
createdBy: "Apps"

View File

@ -1,4 +1,5 @@
{
"version": "v0.0.01",
"items": [
{
"key": "aaPanel",