mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-04 15:06:37 +08:00
[优化] 更新 Docker 部署指令,添加镜像拉取和容器移除命令
This commit is contained in:
@@ -49,6 +49,8 @@ Agent self-update requires the GitHub Release to include both the target binary
|
||||
## Docker
|
||||
|
||||
```bash
|
||||
docker pull ghcr.io/rain-kl/openflare-agent:latest
|
||||
docker rm -f openflare-agent 2>/dev/null || true
|
||||
docker run -d --name openflare-agent --restart unless-stopped \
|
||||
-p 80:80 -p 443:443 \
|
||||
-e OPENFLARE_SERVER_URL=http://your-server:3000 \
|
||||
|
||||
Reference in New Issue
Block a user