Skip to content

Instantly share code, notes, and snippets.

View sburnicki's full-sized avatar

Stefan Burnicki sburnicki

View GitHub Profile
@sburnicki
sburnicki / gist:bfacc82b1de33b6a75814e68d91d2673
Created January 22, 2017 17:25
Run a WPT server instance with docker
# Provide locationis.ini to mount in the server
# Either provide locations yourself or use the official ones with an API key.
# See https://sites.google.com/a/webpagetest.org/docs/private-instances/locations for details
docker run -v $HOME/tmp/locations.ini:/var/www/html/settings/locations.ini -p 8080:80 --name wptserver iteratec/wptserver
# -> mounts the locations.ini file in the server -> use localhost:8080 to access