Skip to content

Instantly share code, notes, and snippets.

@sburnicki
Created January 22, 2017 17:25
Show Gist options
  • Save sburnicki/bfacc82b1de33b6a75814e68d91d2673 to your computer and use it in GitHub Desktop.
Save sburnicki/bfacc82b1de33b6a75814e68d91d2673 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment