1
0

Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2025-04-13 13:12:18 +00:00
parent f3b5f2a195
commit 4a7a48a8bc
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
CONTAINER_NAME="cashbook"
DATA_PATH="./data"
DEFAULT_PASSWORD="cashbook"
ENVIRONMENT="PRO"
PANEL_APP_PORT_HTTP=40291
SERVER_KEY="08cc0348-061d-4193-af05-b6cc02df28ea"
TOKEN_SALT="spend-money-like-water"

View File

@@ -0,0 +1,47 @@
additionalProperties:
formFields:
- default: "40291"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "./data"
edit: true
envKey: DATA_PATH
labelEn: Data storage folder
labelZh: 数据存放文件夹
required: true
type: text
- default: "spend-money-like-water"
edit: true
envKey: TOKEN_SALT
labelEn: Token Salt
labelZh: Token Salt
required: true
type: text
- default: "PRO"
edit: true
envKey: ENVIRONMENT
labelEn: Environment
labelZh: 环境
required: true
type: text
- default: "08cc0348-061d-4193-af05-b6cc02df28ea"
edit: true
envKey: SERVER_KEY
labelEn: Server Key
labelZh: 服务密钥
required: true
type: text
- default: "cashbook"
edit: true
envKey: DEFAULT_PASSWORD
labelEn: Default Password
labelZh: 默认密码
random: true
required: true
rule: paramComplexity
type: password

View File

@@ -0,0 +1,22 @@
services:
cashbook:
image: "dingdangdog/cashbook:4.1.4"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
volumes:
- ${DATA_PATH}:/app/resources/data
environment:
- TOKEN_SALT=${TOKEN_SALT}
- ENVIRONMENT=${ENVIRONMENT}
- SERVER_KEY=${SERVER_KEY}
- DEFAULT_PASSWORD=${DEFAULT_PASSWORD}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true