mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-06-07 16:50:06 +08:00
Merge pull request #79 from JefferyHcool/deploy/docker
docs(README): 更新快速开始指南
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