diff --git a/apps/blossom/1.13.0/data.yml b/apps/blossom/1.13.0/data.yml new file mode 100644 index 000000000..b5dac6ed5 --- /dev/null +++ b/apps/blossom/1.13.0/data.yml @@ -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 \ No newline at end of file diff --git a/apps/blossom/1.13.0/docker-compose.yml b/apps/blossom/1.13.0/docker-compose.yml new file mode 100644 index 000000000..e2693738a --- /dev/null +++ b/apps/blossom/1.13.0/docker-compose.yml @@ -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 \ No newline at end of file diff --git a/apps/blossom/README.md b/apps/blossom/README.md new file mode 100644 index 000000000..6da454725 --- /dev/null +++ b/apps/blossom/README.md @@ -0,0 +1,44 @@ +

+ +

+

+💻️ 试用 | 📃 文档 | 📥 下载 +

+ +Blossom 是一个支持**私有部署**的**云端双链笔记软件**,你可以将你的笔记,图片,个人计划安排保存在自己的服务器中,并在任意设备之间实时同步。同时还是一个动态博客。 + +支持 Windows,Mac,网页客户端,网页移动端。 + +

+ +

+ +# 🛎️ 在线试用 + +你可以通过[在线地址](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)文档。 + +

+ +# 👏 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 拥有丰富的功能,不仅仅是知识管理,更是一个可以供多人同时使用的全面实用性工具。 + +

\ No newline at end of file diff --git a/apps/blossom/data.yml b/apps/blossom/data.yml new file mode 100644 index 000000000..5e9924788 --- /dev/null +++ b/apps/blossom/data.yml @@ -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 \ No newline at end of file diff --git a/apps/blossom/latest/data.yml b/apps/blossom/latest/data.yml new file mode 100644 index 000000000..b5dac6ed5 --- /dev/null +++ b/apps/blossom/latest/data.yml @@ -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 \ No newline at end of file diff --git a/apps/blossom/latest/docker-compose.yml b/apps/blossom/latest/docker-compose.yml new file mode 100644 index 000000000..c3d5de112 --- /dev/null +++ b/apps/blossom/latest/docker-compose.yml @@ -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 \ No newline at end of file diff --git a/apps/blossom/logo.png b/apps/blossom/logo.png new file mode 100644 index 000000000..e0f208420 Binary files /dev/null and b/apps/blossom/logo.png differ