Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 1.38 KB

README.md

File metadata and controls

53 lines (40 loc) · 1.38 KB

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