feat: docker support (#43)

This commit is contained in:
monkeyWie authored and GitHub committed 2022-11-07 16:32:52 +08:00
1 parent e9442edd94
commit 95eb3a427c
9 files changed
+85 -18

No files matched your search

+10
View File
@@ -21,6 +21,7 @@ Gopeed 是一款由`Golang`+`Flutter`开发的高速下载器,支持(HTTP、
- [x] android
- [ ] ios
- [x] web
- [x] docker
[点击前往](https://github.com/monkeyWie/gopeed/releases/latest)
@@ -32,6 +33,15 @@ Gopeed 是一款由`Golang`+`Flutter`开发的高速下载器,支持(HTTP、
go install github.com/monkeyWie/gopeed/cmd/gopeed
```
### Docker
```bash
docker run liwei2633/gopeed:latest -v /path/to/download:/download -p 9999:9999
```
当 docker 容器运行时,可以通过 `http://localhost:9999` 访问 web 页面。
> 提示:在设置页面把下载路径修改为 `/download` 以便在宿主机访问下载完的文件。
## 界面展示
![](_docs/img/ui-demo.png)