Skip to content

๐Ÿ‚ Lightweight Docker Image (alpine) include Nginx with PageSpeed module

Notifications You must be signed in to change notification settings

MixMe/docker-nginx-pagespeed

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

65 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ‚ 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.

Supported tags and Dockerfile links

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

About

๐Ÿ‚ Lightweight Docker Image (alpine) include Nginx with PageSpeed module

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%