Merge pull request #79 from JefferyHcool/deploy/docker

docs(README): 更新快速开始指南
This commit is contained in:
Jianwu Huang
2025-05-06 14:01:16 +08:00
committed by GitHub

View File

@@ -110,17 +110,14 @@ sudo apt install ffmpeg
```bash ```bash
git clone https://github.com/JefferyHcool/BiliNote.git git clone https://github.com/JefferyHcool/BiliNote.git
cd BiliNote cd BiliNote
mv .env.example .env mv .env.example .env #修改对应的环境变量
``` ```
#### 2. 启动 Docker Compose #### 2. 启动 Docker Compose
``` bash ``` bash
docker compose up --build docker compose up --build
``` ```
默认端口: 默认端口:80
可进行访问 http://localhost:80
前端http://localhost:${FRONTEND_PORT}
后端http://localhost:${BACKEND_PORT}
.env 文件中可自定义端口与环境配置。 .env 文件中可自定义端口与环境配置。