diff --git a/apps/amprobe/latest/data.yml b/apps/amprobe/latest/data.yml index 79f2fa2d..183c2814 100644 --- a/apps/amprobe/latest/data.yml +++ b/apps/amprobe/latest/data.yml @@ -3,8 +3,8 @@ additionalProperties: - default: 40235 edit: true envKey: PANEL_APP_PORT_HTTP - labelEn: Port - labelZh: 端口 + labelEn: Port (determined by the configuration file) + labelZh: 端口 (由配置文件决定) required: true rule: paramPort type: number diff --git a/apps/amprobe/latest/data/nginx/nginx.conf b/apps/amprobe/latest/data/nginx/nginx.conf index 509a6a6c..7f5b0261 100644 --- a/apps/amprobe/latest/data/nginx/nginx.conf +++ b/apps/amprobe/latest/data/nginx/nginx.conf @@ -16,7 +16,7 @@ http { keepalive_timeout 65; server { - listen 80; + listen 40235; #server_name amprobe.amuluze.com; # 服务器地址或绑定域名 location / { diff --git a/apps/amprobe/latest/docker-compose.yml b/apps/amprobe/latest/docker-compose.yml index be3db083..0dc4abb6 100644 --- a/apps/amprobe/latest/docker-compose.yml +++ b/apps/amprobe/latest/docker-compose.yml @@ -4,8 +4,7 @@ services: image: amuluze/amprobe:v1.3.3 container_name: ${CONTAINER_NAME} restart: always - ports: - - "${PANEL_APP_PORT_HTTP}:80" + network_mode: "host" volumes: - /var/run/docker.sock:/var/run/docker.sock - /proc:/host/proc:ro @@ -16,7 +15,3 @@ services: - ./data/supervisor:/etc/supervisor/conf.d labels: createdBy: "Apps" - -networks: - 1panel-network: - external: true