(refactor) Remove env files and scripts, update config files
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "40297"
|
||||
- default: 40297
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
@@ -15,3 +15,26 @@ additionalProperties:
|
||||
labelZh: 数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PANEL_HTTP_PROXY
|
||||
labelEn: HTTP_PROXY (e.g., http://<URL_ADDRESS>:<Port>)
|
||||
labelZh: HTTP 代理服务器 (例如:http://<URL_ADDRESS>:<Port>)
|
||||
required: false
|
||||
rule: paramExtUrl
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PANEL_HTTPS_PROXY
|
||||
labelEn: HTTPS_PROXY (e.g., http://<URL_ADDRESS>:<Port>)
|
||||
labelZh: HTTPS 代理服务器 (例如:http://<URL_ADDRESS>:<Port>)
|
||||
required: false
|
||||
rule: paramExtUrl
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PANEL_NO_PROXY
|
||||
labelEn: NO_PROXY (e.g., 172.18.0.0/16,127.0.0.1,localhost)
|
||||
labelZh: 跳过代理地址 (例如:172.18.0.0/16,127.0.0.1,localhost)
|
||||
required: false
|
||||
type: text
|
||||
|
||||
@@ -8,9 +8,15 @@ services:
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8090"
|
||||
volumes:
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
- "/etc/timezone:/etc/timezone:ro"
|
||||
- "${DATA_PATH}:/app/pb_data"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
environment:
|
||||
- http_proxy=${PANEL_HTTP_PROXY}
|
||||
- https_proxy=${PANEL_HTTPS_PROXY}
|
||||
- NO_PROXY=${PANEL_NO_PROXY}
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
|
||||
Reference in New Issue
Block a user