feat:修正lucky配置
This commit is contained in:
3
apps/lucky/latest/.env.sample
Normal file
3
apps/lucky/latest/.env.sample
Normal file
@@ -0,0 +1,3 @@
|
||||
CONTAINER_NAME="lucky"
|
||||
PANEL_APP_PORT_HTTP="16601"
|
||||
DATA_PATH="./data"
|
||||
17
apps/lucky/latest/data.yml
Normal file
17
apps/lucky/latest/data.yml
Normal 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
|
||||
11
apps/lucky/latest/docker-compose.yml
Normal file
11
apps/lucky/latest/docker-compose.yml
Normal 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"
|
||||
Reference in New Issue
Block a user