feat:修正lucky配置

This commit is contained in:
okxlin 2024-02-26 12:00:02 +08:00
parent 121ea8dcf8
commit 6ba13ad5b9
13 changed files with 82 additions and 83 deletions

View File

@ -1,19 +0,0 @@
name: Lucky
tags:
- 实用工具
title: Lucky 的核心程序完全采用 Golang 实现,具有高效、稳定、跨平台等优点。其后台前端则采用 Vue3.2 技术进行开发具有良好的用户体验和响应速度。此外Lucky 的管理后台采用前后端分离的架构第三方开发者也可以自由使用OpenToken轻松调用Lucky的各种功能接口。
type: 实用工具
description: Lucky 的核心程序完全采用 Golang 实现,具有高效、稳定、跨平台等优点。其后台前端则采用 Vue3.2 技术进行开发具有良好的用户体验和响应速度。此外Lucky 的管理后台采用前后端分离的架构第三方开发者也可以自由使用OpenToken轻松调用Lucky的各种功能接口。
additionalProperties:
key: Lucky
name: Lucky
tags:
- Tool
shortDescZh: Lucky 的核心程序完全采用 Golang 实现,具有高效、稳定、跨平台等优点。其后台前端则采用 Vue3.2 技术进行开发具有良好的用户体验和响应速度。此外Lucky 的管理后台采用前后端分离的架构第三方开发者也可以自由使用OpenToken轻松调用Lucky的各种功能接口。
type: Tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://lucky666.cn/
github: https://github.com/gdy666/lucky
document: https://lucky666.cn/docs/intro

View File

@ -1,33 +0,0 @@
additionalProperties:
formFields:
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: 16601
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Console Port
labelZh: 控制台端口
required: true
rule: paramPort
type: number
- default: 1880
edit: true
envKey: PANEL_APP_PORT_HTTP1
labelEn: HTTP Port
labelZh: HTTP端口
required: true
rule: paramPort
type: number
- default: 18443
edit: true
envKey: PANEL_APP_PORT_HTTP2
labelEn: HTTPS Port
labelZh: HTTPS端口
required: true
rule: paramPort
type: number

View File

@ -1,19 +0,0 @@
version: "3"
services:
blossom:
container_name: ${CONTAINER_NAME}
restart: always #重启策略
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP1}:80"
- "${PANEL_APP_PORT_HTTP}:16601"
- "${PANEL_APP_PORT_HTTP2}:443"
volumes:
- /DATA_PATH/luckyconf/:/goodluck
image: gdy666/lucky #镜像
labels:
createdBy: Apps
networks:
1panel-network:
external: true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View File

@ -0,0 +1,3 @@
CONTAINER_NAME="lucky"
PANEL_APP_PORT_HTTP="16601"
DATA_PATH="./data"

17
apps/lucky/2.6.2/data.yml Normal file
View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 16601
disabled: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text

View File

@ -0,0 +1,11 @@
version: '3'
services:
lucky:
container_name: ${CONTAINER_NAME}
restart: always
network_mode: host
volumes:
- ${DATA_PATH}/luckyconf:/goodluck
image: gdy666/lucky:2.6.2
labels:
createdBy: "Apps"

View File

@ -119,15 +119,3 @@ Lucky 的核心程序完全采用 Golang 实现,具有高效、稳定、跨平
```bash ```bash
docker run -d --name lucky --restart=always --net=host -v /root/luckyconf:/goodluck gdy666/lucky docker run -d --name lucky --restart=always --net=host -v /root/luckyconf:/goodluck gdy666/lucky
``` ```

20
apps/lucky/data.yml Normal file
View File

@ -0,0 +1,20 @@
name: Lucky
tags:
- 工具
title: 软硬路由公网神器
type: 工具
description: 软硬路由公网神器
additionalProperties:
key: lucky
name: Lucky
tags:
- Tool
shortDescZh: 软硬路由公网神器
shortDescEn: A software and hard routing public network artifact
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://lucky666.cn
github: https://github.com/gdy666/lucky
document: https://lucky666.cn/docs/intro

View File

@ -0,0 +1,3 @@
CONTAINER_NAME="lucky"
PANEL_APP_PORT_HTTP="16601"
DATA_PATH="./data"

View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 16601
disabled: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text

View File

@ -0,0 +1,11 @@
version: '3'
services:
lucky:
container_name: ${CONTAINER_NAME}
restart: always
network_mode: host
volumes:
- ${DATA_PATH}/luckyconf:/goodluck
image: gdy666/lucky:latest
labels:
createdBy: "Apps"

BIN
apps/lucky/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB