mirror of
https://github.com/okxlin/appstore.git
synced 2026-02-21 10:27:41 +08:00
feat:修改amprobe为host网络模式
This commit is contained in:
parent
37027ba887
commit
bb6c4e11c0
@ -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
|
||||
|
||||
@ -16,7 +16,7 @@ http {
|
||||
keepalive_timeout 65;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen 40235;
|
||||
#server_name amprobe.amuluze.com; # 服务器地址或绑定域名
|
||||
|
||||
location / {
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user