Sign inSign up

lagun4ik/nginx-pagespeed

By lagun4ik

•Updated about 9 years ago

🏂 Lightweight Image include Nginx with PageSpeed module based on alpine

Image
1

10K+

lagun4ik/nginx-pagespeed repository overview

⁠🏂 Lightweight Docker Image include Nginx with PageSpeed module

Build Status

This docker image based on Alpine⁠. Alpine is based on Alpine Linux⁠, lightweight Linux distribution based on BusyBox⁠. The size of the image is very small.

⁠PageSpeed

The PageSpeed⁠ tools analyze and optimize your site following web best practices.

This image is published in the Docker Hub⁠ as lagun4ik/nginx-pagespeed

⁠Configuration

The config is set using environments

#default values
PAGESPEED_ENABLE=on # || off

⁠Example compose file

version: '2'

services:
  nginx:
    image: lagun4ik/nginx-pagespeed
    restart: always
    ports:
      - '80:80'
      - '443:443'
    volumes:
      - ./sites-enabled:/etc/nginx/sites-enabled
      - ./www/:/var/www/
      - ./cache/ngx_pagespeed:/var/cache/ngx_pagespeed

Tag summary

Content type

Image

Digest

Size

26 MB

Last updated

about 9 years ago

docker pull lagun4ik/nginx-pagespeed