Environment variables

Nginx-le uses environment variables to configure your docker container when it is created.

nginx-le config

When using nginx-le config it will automatically create the required environment variables when creating a container for you. As such you don't need to set any of these variables.

docker-compose

When using docker-compose you need to configure each environment variable in your docker-compose file. See the docker-compose section for more details.

docker

If you are manually creating your docker container then you will need to set each environment variable before you create your docker container.

These environment variables are only needed when your container is being created. You do not need to set them when running an existing container.

Nginx-LE uses the following environment variables to control the operation of the container:

Last updated