chore(deps): update dingdangdog/cashbook docker tag to v5 (localApps) (#4250)
This commit is contained in:
7
apps/cashbook/5.0.0/.env.sample
Normal file
7
apps/cashbook/5.0.0/.env.sample
Normal 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"
|
||||
65
apps/cashbook/5.0.0/data.yml
Normal file
65
apps/cashbook/5.0.0/data.yml
Normal file
@@ -0,0 +1,65 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "40291"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
label:
|
||||
en: Port
|
||||
zh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "./data"
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data storage folder
|
||||
labelZh: 数据存放文件夹
|
||||
label:
|
||||
en: Data storage folder
|
||||
zh: 数据存放文件夹
|
||||
required: true
|
||||
type: text
|
||||
- default: "spend-money-like-water"
|
||||
edit: true
|
||||
envKey: TOKEN_SALT
|
||||
labelEn: Token Salt
|
||||
labelZh: Token Salt
|
||||
label:
|
||||
en: Token Salt
|
||||
zh: Token Salt
|
||||
required: true
|
||||
type: text
|
||||
- default: "PRO"
|
||||
edit: true
|
||||
envKey: ENVIRONMENT
|
||||
labelEn: Environment
|
||||
labelZh: 环境
|
||||
label:
|
||||
en: Environment
|
||||
zh: 环境
|
||||
required: true
|
||||
type: text
|
||||
- default: "08cc0348-061d-4193-af05-b6cc02df28ea"
|
||||
edit: true
|
||||
envKey: SERVER_KEY
|
||||
labelEn: Server Key
|
||||
labelZh: 服务密钥
|
||||
label:
|
||||
en: Server Key
|
||||
zh: 服务密钥
|
||||
required: true
|
||||
type: text
|
||||
- default: "cashbook"
|
||||
edit: true
|
||||
envKey: DEFAULT_PASSWORD
|
||||
labelEn: Default Password
|
||||
labelZh: 默认密码
|
||||
label:
|
||||
en: Default Password
|
||||
zh: 默认密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
22
apps/cashbook/5.0.0/docker-compose.yml
Normal file
22
apps/cashbook/5.0.0/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
cashbook:
|
||||
image: "dingdangdog/cashbook:5.0.0"
|
||||
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
|
||||
Reference in New Issue
Block a user