mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-08-27 11:11:02 +08:00
docs(README): 更新快速开始指南
- 移除了 .env 文件重命名步骤的单独命令,将其合并到一行中 -简化了端口说明,指出了默认端口为 80 - 更新了访问地址示例,使用默认端口 80
This commit is contained in:
@@ -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 文件中可自定义端口与环境配置。
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user