Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

nikukyugamer/webpagetest-by-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What's this?

Why do you re-build docker images?

  • Because the containers created by raw images return incorrect results (can't get results)
    • Detail is below, the article at Reference

Procedure

  • Build docker images
    • server
    • agent
  • Run docker containers
    • server
    • agent
  • Access to WebPagetest!

All tasks in one shell script

  • If containers remain, docker run will fail so you must remove containers.
$ ./build_and_run.sh

Build docker images only

$ docker build -t local-wptserver ./server
$ docker build -t local-wptagent ./agent

Run docker containers only

$ docker run -d -p 4000:80 --name local-wptserver local-wptserver
$ docker run -d -p 4001:80 --name local-wptagent --network="host" -e "SERVER_URL=http://localhost:4000/work/" -e "LOCATION=Test" local-wptagent

Reference

LICENSE

Releases

No releases published

Packages

No packages published