Skip to content

Commit

Permalink
修改 README
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozzzi committed Oct 3, 2023
1 parent 096b99c commit 16b7ac0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ Blossom 是一个支持**私有部署**的**云端存储双链笔记软件**,
</p>

- 你可以先进行[试用](https://www.wangyunf.com/blossom-doc/doc/tryuse),我们提供了一个试用账号帮你体验该应用。
- 使用 [Docker / Docker Compose](http://localhost:5174/blossom-doc/doc/backend) 进行部署。
- 使用 [Docker / Docker Compose](https://www.wangyunf.com/blossom-doc/doc/backend) 进行部署。
- 阅读[文档](https://www.wangyunf.com/blossom-doc/index)来查看更多使用细节。

---

#### Blossom 具有以下优势:
### 👏 Blossom 具有以下优势:

1. **不再需要为同步设备数量付费**
2. **不再需要为公网访问付费**
Expand All @@ -35,7 +35,7 @@ Blossom 是一个支持**私有部署**的**云端存储双链笔记软件**,
9. **丰富的功能拓展**,包含日历计划,待办事项清单,一个完善的个人管理工具。
10. **支持 Docker / Docker Compose 部署**

#### Blossom 具有以下功能:
### 🎁 Blossom 具有以下功能:
1. **文章编辑**:Markdown 文章编写,文章公网访问权限,文章分类管理。
2. **双链笔记**:内部文章与外部链接引用形成的双链笔记知识网络。
3. **全量导出**:每日全量备份,备份一键下载。
Expand Down
18 changes: 15 additions & 3 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ services:
image: jasminexzzz/blossom:latest
container_name: blossom-backend
volumes:
# 【需修改】挂载图片保存路径,如果是windows环境,可以使用/c/home/bl/来指定磁盘
# 【需修改】挂载图片保存路径,如果是windows环境,可以使用/c/home/bl/img/来指定磁盘
- /d/blossom/bl/:/home/bl/
environment:
SPRING_PROFILES_ACTIVE: prod
Expand All @@ -175,13 +175,20 @@ services:
- "9999:9999"
networks:
- blossomnet
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9999/sys/alive"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
restart: always
depends_on:
- blmysql
blmysql:
condition: service_healthy
blmysql:
image: mysql:8.0.31
container_name: blossom-mysql
restart: always
restart: on-failure:3
# 【需修改】注意挂载路径
volumes:
- /d/blossom/Docker/mysql/data:/var/lib/mysql
Expand All @@ -197,6 +204,11 @@ services:
- "3306:3306"
networks:
- blossomnet
healthcheck:
test: ["CMD", "mysqladmin", "-uroot", "-pjasmine888", "ping", "-h", "localhost"]
interval: 10s
timeout: 3s
retries: 12

```

Expand Down

0 comments on commit 16b7ac0

Please sign in to comment.