Skip to content

Commit d8a6122

Browse files
committed
update docs
1 parent da774c6 commit d8a6122

File tree

3 files changed

+24
-15
lines changed

3 files changed

+24
-15
lines changed

docs/.vuepress/navbar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const myNavbar = defineNavbarConfig([
3131
]
3232
},
3333
{
34-
text: 'v1.0.2',
34+
text: 'v1.0.3',
3535
items: [
3636
{
3737
text: '技术支持',

docs/changelog.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,24 @@ title: 更新日志
99
的成熟与稳定,更意味着它已完全通过验证,可以安心投入生产环境使用。在未来的版本迭代中,我们将持续为开发者带来更优质的产品体验。敬请期待!🤗
1010
:::
1111

12-
## [v1.0.2](https://github.com/fastapi-practices/fastapi_best_architecture/releases/tag/v1.0.2) - 2025-03-01
12+
## [v1.0.3](https://github.com/fastapi-practices/fastapi_best_architecture/releases/tag/v1.0.3) - 2025-03-11
1313

1414
### What's Changed
1515

16-
* Update the changelog for v1.0.1 by [@wu-clan](https://github.com/wu-clan)
17-
in [#532](https://github.com/fastapi-practices/fastapi_best_architecture/pull/532)
18-
* Fix celery async task worker pool by [@wu-clan](https://github.com/wu-clan)
19-
in [#533](https://github.com/fastapi-practices/fastapi_best_architecture/pull/533)
20-
* Add log module root and output levels by [@wu-clan](https://github.com/wu-clan)
21-
in [#534](https://github.com/fastapi-practices/fastapi_best_architecture/pull/534)
22-
* Add plugin related interfaces by [@wu-clan](https://github.com/wu-clan)
23-
in [#535](https://github.com/fastapi-practices/fastapi_best_architecture/pull/535)
16+
* Update the changelog for v1.0.2 by [@wu-clan](https://github.com/wu-clan)
17+
in [#536](https://github.com/fastapi-practices/fastapi_best_architecture/pull/536)
18+
* Update docker scripts in backend README by [@wu-clan](https://github.com/wu-clan)
19+
in [#537](https://github.com/fastapi-practices/fastapi_best_architecture/pull/537)
20+
* Refactor toml and dependencies file dir by [@wu-clan](https://github.com/wu-clan)
21+
in [#538](https://github.com/fastapi-practices/fastapi_best_architecture/pull/538)
22+
* Fix typos in Dockerfile comments by [@huyuwei1996](https://github.com/huyuwei1996)
23+
in [#539](https://github.com/fastapi-practices/fastapi_best_architecture/pull/539)
24+
* Fix Dockerfile mounts for dependency installation by [@huyuwei1996](https://github.com/huyuwei1996)
25+
in [#540](https://github.com/fastapi-practices/fastapi_best_architecture/pull/540)
26+
* Add Aliyun mirror to PyPI index in pyproject.toml by [@huyuwei1996](https://github.com/huyuwei1996)
27+
in [#541](https://github.com/fastapi-practices/fastapi_best_architecture/pull/541)
28+
* Update docker scripts and nginx conf by [@wu-clan](https://github.com/wu-clan)
29+
in [#542](https://github.com/fastapi-practices/fastapi_best_architecture/pull/542)
2430

2531
::: demo-wrapper title="Full Changelog"
2632
完整版日志请查看:[CHANGELOG.md](https://github.com/fastapi-practices/fastapi_best_architecture/blob/master/CHANGELOG.md)

docs/guide/deploy/Docker.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ title: Docker 部署
3535
```
3636

3737
2. 按需修改配置文件 `backend/core/conf.py``.env`
38-
3. 确保你位于项目根目录
38+
3. 务必在 `Dockerfile` 所在目录打开终端
3939
4. 运行以下命令构建容器
4040

4141
如果容器要在本地启动,需要将 `.env` 中的 `127.0.0.1` 更改为 `host.docker.internal`
@@ -114,7 +114,7 @@ title: Docker 部署
114114
- fba_redis
115115
- fba_celery
116116
volumes:
117-
- .env.server:/fba/backend/.env
117+
- ./deploy/backend/docker-compose/.env.server:/fba/backend/.env
118118
- fba_static:/fba/backend/app/static
119119
networks:
120120
- fba_network
@@ -190,7 +190,7 @@ title: Docker 部署
190190
depends_on:
191191
- fba_server
192192
volumes:
193-
- ../nginx.conf:/etc/nginx/nginx.conf:ro
193+
- ./deploy/backend/nginx.conf:/etc/nginx/conf.d/default.conf:ro
194194
- fba_static:/www/fba_server/backend/static
195195
networks:
196196
- fba_network
@@ -295,15 +295,18 @@ title: Docker 部署
295295
name: fba_rabbitmq
296296
```
297297
298-
5. 执行一键启动命令
298+
5. 务必在 `docker-compose.yml` 所在目录打开终端
299+
6. 执行一键启动命令
299300

301+
::: warning
300302
命令执行期间遇到镜像拉取问题请自行 Google
303+
:::
301304

302305
```shell:no-line-numbers
303306
docker-compose up -d --build
304307
```
305308

306-
6. 等待命令执行完成
309+
7. 等待命令执行完成
307310
::::
308311

309312
### 前端

0 commit comments

Comments
 (0)