Marge sephiroth233/appstore into localApps
This commit is contained in:
4
apps/ech0/latest/.env.sample
Normal file
4
apps/ech0/latest/.env.sample
Normal file
@@ -0,0 +1,4 @@
|
||||
CONTAINER_NAME="ech0"
|
||||
DATA_PATH="./data"
|
||||
PANEL_APP_PORT_HTTP="40120"
|
||||
JWT_SECRET="secret"
|
||||
26
apps/ech0/latest/data.yml
Normal file
26
apps/ech0/latest/data.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "./data"
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data Path
|
||||
labelZh: 数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: 40120
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "secret"
|
||||
edit: true
|
||||
envKey: JWT_SECRET
|
||||
labelEn: JWT Secret
|
||||
labelZh: JWT密钥
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
20
apps/ech0/latest/docker-compose.yml
Normal file
20
apps/ech0/latest/docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
ech0:
|
||||
image: sn0wl1n/ech0:latest
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:6277"
|
||||
volumes:
|
||||
- ${DATA_PATH}/data:/app/data
|
||||
environment:
|
||||
- JWT_SECRET="${JWT_SECRET}"
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user