Skip to content

reef-technologies/docker-nginx-rt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-nginx-rt

Custom docker image for NGINX running on Alpine Linux, used in cookiecutter-rt-django template.

Building

Dockerfile is created based on an official NGINX dockerfile for adding third-party modules, however it is pinned to the given NGINX version and doesn't use the mainline image.

$ docker build -t nginx-rt .

Usage

  • From Dockerfile:
    FROM ghcr.io/reef-technologies/nginx-rt:master
    
    ...
  • From docker-compose.yml:
    services:
     nginx:
        image: 'ghcr.io/reef-technologies/nginx-rt:master'
    
    ...

Features

Enabled features:

  • Secure SSL configuration
  • Cloudflare DNS resolver
  • Brotli compression
  • Preinstalled custom modules

Modules

Modules that are available by default:

License

This project is licensed under the terms of the BSD-3 License