This image inherits from nginx:stable-alpine
and installs
confd, which is used to generate
the configuration for nginx.
docker pull digitalbackstage/nginx-confd:alpine
.
The following environment variables have to be provided:
NGINX_DOCUMENTROOT
NGINX_SERVERNAME
Additionally you may provide CONFD_OPTIONS
, it defaults to -backend env -onetime
.