mirror of
https://github.com/okxlin/appstore.git
synced 2026-02-26 12:57:40 +08:00
feat:mosdns个别版本解除网段限制
This commit is contained in:
parent
01f98906b5
commit
cc7715c6f2
@ -2,4 +2,4 @@ CONTAINER_NAME="mosdns"
|
||||
PANEL_APP_PORT_HTTP="40028"
|
||||
PANEL_APP_PORT_API="40029"
|
||||
DATA_PATH="./data"
|
||||
SUBNET_SUFFIX="240"
|
||||
SUBNET="172.18.0.240"
|
||||
|
||||
@ -23,10 +23,10 @@ additionalProperties:
|
||||
labelZh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
- default: 240
|
||||
- default: 172.18.0.240
|
||||
edit: true
|
||||
envKey: SUBNET_SUFFIX
|
||||
labelEn: Subnet suffix (172.18.0.x)
|
||||
labelZh: 子网后缀 (172.18.0.x)
|
||||
envKey: SUBNET
|
||||
labelEn: Subnet IP
|
||||
labelZh: 子网 IP
|
||||
required: true
|
||||
type: text
|
||||
|
||||
@ -5,7 +5,7 @@ services:
|
||||
restart: always
|
||||
networks:
|
||||
1panel-network:
|
||||
ipv4_address: 172.18.0.${SUBNET_SUFFIX}
|
||||
ipv4_address: ${SUBNET}
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:53/tcp"
|
||||
- "${PANEL_APP_PORT_HTTP}:53/udp"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user