feat:添加allinone到列表
This commit is contained in:
3
apps/allinone/latest/.env.sample
Normal file
3
apps/allinone/latest/.env.sample
Normal file
@@ -0,0 +1,3 @@
|
||||
CONTAINER_NAME="allinone"
|
||||
PANEL_APP_PORT_HTTP=40292
|
||||
PRIVILEGED_MODE="true"
|
||||
22
apps/allinone/latest/data.yml
Normal file
22
apps/allinone/latest/data.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "40292"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: PRIVILEGED_MODE
|
||||
labelEn: Privileged Mode
|
||||
labelZh: 特权模式
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: "True"
|
||||
value: "true"
|
||||
- label: "False"
|
||||
value: "false"
|
||||
16
apps/allinone/latest/docker-compose.yml
Normal file
16
apps/allinone/latest/docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
allinone:
|
||||
image: "youshandefeiyang/allinone:latest"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
privileged: ${PRIVILEGED_MODE}
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:35455"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user