Public | Automated Build

Last pushed: 2 months ago
Short Description
🏂 Lightweight Image include Nginx with PageSpeed module based on alpine
Full Description

🏂 Lightweight Docker Image include Nginx with PageSpeed module

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
Docker Pull Command
Owner
lagun4ik
Source Repository

Comments (0)