namshi/node-pagespeed

By namshi

Updated over 9 years ago

Image
0

194

Node-pagespeed

This is a docker container for nodejs apps delivering web content. It includes a very simple ccustom build of nginx that will apply (google's page speed)[https://developers.google.com/speed/pagespeed/] goodies

Version

Nginx Version: 1.7.9 Pagespeed Version: 1.9.32.3

How to use it

Simply start your container form this one:

#Dockerfile

FROM namshi/node-pagespeed

What it provides

  • noodejs
  • a simple nginx acting as a transparent proxy and including the page speed module
  • gulp
  • clusterjs
  • browserify
  • cdnwhaaat
  • casperjs
  • phantomjs
  • compass

Caches

By default the page speed cache will be written in /var/pagespeed/cache, mount your desired directory in that path if you need

Nginx configuration

Just mount your desired config file into /etc/nginx/sites-enabled/default

Docker Pull Command

docker pull namshi/node-pagespeed