feat:添加easytier到列表
This commit is contained in:
6
apps/easytier/latest/.env.sample
Normal file
6
apps/easytier/latest/.env.sample
Normal file
@@ -0,0 +1,6 @@
|
||||
COMMAND="-i 10.144.144.1 --network-name abc --network-secret abc -p tcp://public.easytier.top:11010"
|
||||
CONTAINER_NAME="easytier"
|
||||
DATA_PATH="./data/data"
|
||||
HOSTNAME="easytier"
|
||||
PRIVILEGED_MODE="true"
|
||||
TIME_ZONE="Asia/Shanghai"
|
||||
37
apps/easytier/latest/data.yml
Normal file
37
apps/easytier/latest/data.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "./data"
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data Path
|
||||
labelZh: 数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "Asia/Shanghai"
|
||||
edit: true
|
||||
envKey: TIME_ZONE
|
||||
labelEn: Time Zone
|
||||
labelZh: 时区
|
||||
required: true
|
||||
type: text
|
||||
- default: "true"
|
||||
disabled: true
|
||||
envKey: PRIVILEGED_MODE
|
||||
labelEn: Privilege mode switch
|
||||
labelZh: 特权模式开关
|
||||
required: true
|
||||
type: text
|
||||
- default: "easytier"
|
||||
edit: true
|
||||
envKey: HOSTNAME
|
||||
labelEn: Hostname
|
||||
labelZh: 主机名
|
||||
required: true
|
||||
type: text
|
||||
- default: "-i <ip> --network-name <用户> --network-secret <密码> -e tcp://<服务器地址>:11010 -l <监听地址>"
|
||||
edit: true
|
||||
envKey: COMMAND
|
||||
labelEn: Command (modified as required)
|
||||
labelZh: 命令 (按需修改)
|
||||
required: true
|
||||
type: text
|
||||
15
apps/easytier/latest/docker-compose.yml
Normal file
15
apps/easytier/latest/docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
easytier:
|
||||
image: "easytier/easytier:latest"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
network_mode: host
|
||||
privileged: ${PRIVILEGED_MODE}
|
||||
hostname: ${HOSTNAME}
|
||||
environment:
|
||||
- TZ=${TIME_ZONE}
|
||||
volumes:
|
||||
- ${DATA_PATH}:/root
|
||||
command: ${COMMAND}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
Reference in New Issue
Block a user