1
0

Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2024-04-17 16:53:23 +00:00
parent 52b6faf145
commit 75e0f1b862
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
CONTAINER_NAME="blossom"
PANEL_APP_PORT_HTTP="40204"
PANEL_DB_HOST="mysql"
PANEL_DB_HOST_NAME="mysql"
PANEL_DB_NAME="blossom_awi6m4"
PANEL_DB_PORT="3306"
PANEL_DB_TYPE="mysql"
PANEL_DB_USER="blossom_6D65BN"
PANEL_DB_USER_PASSWORD="blossom_6DWZjz"

View File

@@ -0,0 +1,48 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
default: mysql
envKey: PANEL_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
required: true
type: apps
values:
- label: MySQL
value: mysql
- default: blossom
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: blossom
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: blossom
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: 40204
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number

View File

@@ -0,0 +1,29 @@
version: "3.8"
networks:
1panel-network:
external: true
services:
blossom:
image: jasminexzzz/blossom:1.16.0
container_name: ${CONTAINER_NAME}
volumes:
- ./bl/:/home/bl/
environment:
SPRING_DATASOURCE_URL: jdbc:${PANEL_DB_TYPE}://${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}?useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&useSSL=false&&serverTimezone=GMT%2B8
SPRING_DATASOURCE_USERNAME: ${PANEL_DB_USER}
SPRING_DATASOURCE_PASSWORD: ${PANEL_DB_USER_PASSWORD}
ports:
- ${PANEL_APP_PORT_HTTP}:9999
networks:
- 1panel-network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9999/sys/alive"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
restart: always
labels:
createdBy: "Apps"