Sign inSign up

ivandotv/nginx-dockerize

By ivandotv

•Updated over 6 years ago

Image
0

102

ivandotv/nginx-dockerize repository overview

⁠NGINX with Dockerize

This is a default Nginx image built from the latest Nginx upstream, with dockerize utility⁠.

Only the templating functionality⁠ of the dockerize utility is used.

⁠What it Does

Please note that the default Nginx configuration setup is unchanged.

Configuration files are just modified to support templating, so you can modify the values via environment variables.

⁠Custom configuration directory

You can also mount a custom configuration directory, and all configuration files inside the directory will be run through the dockerize template utility⁠ and included at the end of the nginx.conf⁠ file.

docker run host_template_dir:/etc/nginx/custom.tmpl.d ivandotv/nginx-dockerize

When files are processed they are moved to the /etc/nginx/custom.d and included.

⁠Building the Image

Run build.sh script to build the image.

Tag summary

Content type

Image

Digest

Size

53.1 MB

Last updated

over 6 years ago

docker pull ivandotv/nginx-dockerize