Nginx image which autoreloads on configuration changes
2.1K
Docker image of Nginx which automatically reloads on configuration changes.
Image source at: https://github.com/rockstorm101/nginx-autoreload-docker.
Use as a normal Nginx image. Add environment variable
AUTORELOAD_FILES to track these files and auto-reload Nginx when any
of these files gets modified. Example docker-compose.yml:
services:
nginx:
image: rockstorm/nginx-autoreload
environment:
AUTORELOAD_FILES: "/etc/nginx/nginx.conf /etc/nginx/conf.d"
Note that AUTORELOAD_FILES can contain multiple files and folders
separated by a space. However, no spaces are allowed on the
file/folder names.
By default, this image uses the stable and Alpine-based Nginx image as
a base. Use build argument NGINX_VERSION to change the base Nginx
Docker image being built upon.
View license information for the software contained in this image.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Nginx, etc from the base image, along with any direct or indirect dependencies of the primary software being contained).
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
Content type
Image
Digest
sha256:213e49b80…
Size
24.1 MB
Last updated
6 months ago
docker pull rockstorm/nginx-autoreload