发布应用 Lucky

This commit is contained in:
ms
2025-12-08 18:40:57 +08:00
parent d478cb70d7
commit 2f6ffcd1c1
2 changed files with 17 additions and 2 deletions
+16
View File
@@ -1,5 +1,21 @@
additionalProperties: additionalProperties:
formFields: formFields:
- default: "host"
edit: true
envKey: NETWORK_MODE
labelZh: 网络模式
labelEn: Network mode
required: true
type: select
values:
- label: 主机网络模式
value: "host"
- label: 桥接网络模式
value: "bridge"
- label: 无网络模式
value: "none"
- label: 1panel-network
value: "1panel-network"
- default: "/home/lucky" - default: "/home/lucky"
edit: true edit: true
envKey: LUCKY_ROOT_PATH envKey: LUCKY_ROOT_PATH
+1 -2
View File
@@ -9,8 +9,7 @@ services:
labels: labels:
createdBy: "Apps" createdBy: "Apps"
restart: always restart: always
networks: network_mode: ${NETWORK_MODE:-host}
- 1panel-network
ports: ports:
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP} - ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
env_file: env_file: