diff --git a/ALS/versions/latest/.env.sample b/ALS/versions/latest/.env.sample new file mode 100644 index 00000000..0aa96bed --- /dev/null +++ b/ALS/versions/latest/.env.sample @@ -0,0 +1,2 @@ +CONTAINER_NAME="looking-glass" +PANEL_APP_PORT_HTTP="20080" \ No newline at end of file diff --git a/ALS/versions/latest/config.json b/ALS/versions/latest/config.json new file mode 100644 index 00000000..930d9243 --- /dev/null +++ b/ALS/versions/latest/config.json @@ -0,0 +1,15 @@ + +{ + "formFields": [ + { + "type": "number", + "labelZh": "网页端口", + "labelEn": "WebUI Port", + "required": true, + "default": 20080, + "rule": "paramPort", + "envKey": "PANEL_APP_PORT_HTTP", + "edit": true + } + ] +} diff --git a/ALS/versions/latest/docker-compose.yml b/ALS/versions/latest/docker-compose.yml index 4cc897d1..f6163717 100644 --- a/ALS/versions/latest/docker-compose.yml +++ b/ALS/versions/latest/docker-compose.yml @@ -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" diff --git a/list.json b/list.json index 4269e9d4..40e6cea5 100644 --- a/list.json +++ b/list.json @@ -1,4 +1,5 @@ { + "version": "v0.0.01", "items": [ { "key": "aaPanel",