mozilla/wpt-api

Show/document quick and dirty, bare-bones (for debug/learning...) Dockerized WebPageTest (+agent) setup

Open

#229 建立於 2019年1月23日

在 GitHub 查看
 (1 留言) (0 反應) (1 負責人)Python (7 fork)auto 404
docsfirefoxhelp wanted

倉庫指標

Star
 (28 star)
PR 合併指標
 (PR 指標待抓取)

描述

Essentially:

  • Start our Dockerized WebPageTest (PHP) server instance (API + Web UI):
docker run --rm -d -p 4001:80 webpagetest/server
  • Start a Dockerized wptagent agent:
  docker run --rm -d \
  --network="host" \
  -e vvvv
  -e SERVER_URL=http://localhost:4001/work/ \
  -e LOCATION="Test" \
  -e SHAPER="none" \
  --cap-add=NET_ADMIN \
  webpagetest/agent

Once installed, check http://localhost:4001/install/ for the installation checklist.

貢獻者指南