Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BadApple9 authored Jul 27, 2022
1 parent 7194440 commit cfbbf2e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,13 @@ speedtest-x 使用文件数据库来保存来自不同用户的测速结果,
>
> `SAME_IP_MULTI_LOGS = false`:是否允许同一IP记录多条测速结果
#### Docker 部署
#### Docker 部署 (支持平台: amd64 / arm64)

1、拉取 [Docker 镜像](https://hub.docker.com/r/badapple9/speedtest-x) `docker pull badapple9/speedtest-x`

(**ARM 架构的机器,执行 `docker pull stilleshan/speedtest-x`**,ARM 镜像由热心网友制作)

2、运行容器 `docker run -d -p 9001:80 -it badapple9/speedtest-x`

(**ARM 架构的机器,运行 `docker run -d -p 9001:80 -it stilleshan/speedtest-x`**)

参数解释:
> **-d**:以常驻进程模式启动
>
> **9001**: 默认容器开放端口,可改为其他端口
Expand Down

0 comments on commit cfbbf2e

Please sign in to comment.