Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ test/*
Videos/*
settings-production.toml
startRecord-production.sh
src/upload/cookies.json
src/utils/cookies.json
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN apt-get update && apt-get install vim -y \
&& apt-get install -y ffmpeg \
&& apt-get install -y procps \
&& apt-get install lsof -y \
&& apt-get install curl -y \
&& pip install -r requirements.txt

ENV BILIVE_PATH=/app
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,12 @@ logs # 日志文件夹

### Docker 运行

也可以直接拉取 docker 镜像运行,默认 latest。默认启动 upload 进程,record 以及 scan 可以在配置后手动启动,相关配置流程从 3.2 开始即可,此版本 docker 镜像无 GPU 配置。
也可以直接拉取 docker 镜像运行,默认 latest。守护进程是 upload,而 record 以及 scan 需要在配置后手动启动,相关配置以及启动流程从 3.2 开始即可,此版本 docker 镜像无 GPU 配置。

> [!IMPORTANT]
> 如果因为网络原因无法pull,考虑使用镜像地址,例如 https://dockerpull.cn/ ,将镜像改为 `dockerpull.cn/timerring/bilive` 即可。
>
> 如果不需要使用可视化页面可以忽略以下提醒:
> - 不推荐在有公网 ip 的服务器上直接暴露 22333 端口访问管理页面,如果使用请自行限制端口入站 ip 规则或者采用 nginx 等反向代理配置密钥限制他人访问。
> - 管理页面主要针对 record 模块,只有手动运行 record 后(步骤5)才能访问到管理页面。

```bash
sudo docker run \
Expand Down