Created
January 22, 2017 17:25
-
-
Save sburnicki/bfacc82b1de33b6a75814e68d91d2673 to your computer and use it in GitHub Desktop.
Run a WPT server instance with docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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