You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/installation.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -241,19 +241,27 @@ sudo docker run \
241
241
242
242
### Docker Compose
243
243
244
-
See [Installation](https://bilive.timerring.com/installation.html) for the adjustment method of `compose.yml`.
245
-
246
244
#### Use image
247
245
248
-
Default CPU latest version, if you need to use the GPU version, please adjust it in `compose.yml` yourself.
246
+
The default is CPU latest version, if you need to use the GPU version, please modify the `image: ghcr.io/timerring/bilive:X.X.X` to `image: ghcr.io/timerring/bilive-gpu:X.X.X`in `compose.yml`.
249
247
250
248
```bash
251
249
docker compose up -d
252
250
```
253
251
254
252
#### Self-build
255
253
256
-
Please adjust the relevant configuration in `compose.yml`, then execute the following command:
254
+
> [!IMPORTANT]
255
+
> If you want to compose self-built images, **please change the login method** in `src/upload/upload.py` from `LoginController().login_bilibili_with_cookie_file(file)` to `LoginController().login_bilibili(export=False)`, otherwise the login process will fail.
256
+
257
+
The relevant configuration has been written, please replace the 3 to 6 lines of `compose.yml` with:
0 commit comments