1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 02:11:04 +08:00

Add blossom

This commit is contained in:
Anyexyz 2024-03-12 22:38:42 +08:00
parent fb728bd5b9
commit d98fb54b61
7 changed files with 207 additions and 0 deletions

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: 9999
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number #端口使用此 type

View File

@ -0,0 +1,27 @@
version: "3.8"
networks:
1panel-network:
external: true
services:
blossom:
image: jasminexzzz/blossom:1.13.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

44
apps/blossom/README.md Normal file
View File

@ -0,0 +1,44 @@
<p align="center">
<img src="https://github.com/blossom-editor/blossom/raw/dev/doc/imgs/blossom_name.png" height="auto">
</p>
<p align="center">
<a href="https://www.wangyunf.com/blossom-demo/#/settingindex">💻️ 试用</a> | <a href="https://www.wangyunf.com/blossom-doc/index.html">📃 文档</a> | <a href="https://www.wangyunf.com/blossom-doc/guide/about/download.html">📥 下载</a>
</p>
Blossom 是一个支持**私有部署**的**云端双链笔记软件**,你可以将你的笔记,图片,个人计划安排保存在自己的服务器中,并在任意设备之间实时同步。同时还是一个动态博客。
支持 WindowsMac网页客户端网页移动端。
<p align="center">
<img src="https://github.com/blossom-editor/blossom/raw/dev/doc/imgs/device.png">
</p>
# 🛎️ 在线试用
你可以通过[在线地址](https://www.wangyunf.com/blossom-demo/#/settingindex)或[下载客户端](https://www.wangyunf.com/blossom-doc/guide/about/download.html)试用,详细信息请查看[试用](https://www.wangyunf.com/blossom-doc/guide/tryuse.html)文档。
<br/><br/>
# 👏 Blossom 的特点:
### 完善的文件关系
Blossom 不依赖任何三方存储和图床,其本身就是一个图床,并且提供了完善的图片管理,防勿删,以及图片和文章的双向关系绑定。
基于 Markdown 编写,没有破坏性的语法拓展,在这里编写的内容在任何 Markdown 软件中都能正常显示。
### 快速迁移
所有图片和文章都支持一键备份和导出,可以在几分钟内轻松迁出。导出的文件可以无缝使用 VS Code 或 Obsidian 等本地软件正常打开。
### 丰富的附加功能
- 📅 [计划安排](https://www.wangyunf.com/blossom-doc/guide/plan.html)
- 🏷️ [待办事项](https://www.wangyunf.com/blossom-doc/guide/todo.html)
- 🎫 [快捷便签](https://www.wangyunf.com/blossom-doc/guide/note.html)
- 🍅 [番茄钟](https://www.wangyunf.com/blossom-doc/guide/article.html#tomato)
- 🧰 多用户、字数统计、字数折线图、编辑热力图、天气预报、主题设置...
Blossom 拥有丰富的功能,不仅仅是知识管理,更是一个可以供多人同时使用的全面实用性工具。
<br/><br/>

13
apps/blossom/data.yml Normal file
View File

@ -0,0 +1,13 @@
additionalProperties:
key: blossom
name: Blossom云端双链笔记
tags:
- Tool
shortDescZh: Blossom 云端双链笔记 完全开源,私有部署,你的笔记不再宕机。
shortDescEn: Blossom Cloud-Dual-Chain Storing Notebook, Fully open source, privately deployable, your notes will no longer experience downtime.
type: tool
crossVersionUpdate: True
limit: 0
website: https://www.wangyunf.com/blossom-doc/index
github: https://github.com/blossom-editor/blossom
document: https://www.wangyunf.com/blossom-doc/index

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: 9999
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number #端口使用此 type

View File

@ -0,0 +1,27 @@
version: "3.8"
networks:
1panel-network:
external: true
services:
blossom:
image: jasminexzzz/blossom:latest
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

BIN
apps/blossom/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB