/docker-magento2-nginx

This image is built from nginx and contains the default webserver configuration for Magento 2.

Primary LanguageNginx

Versions

Description

This image is built from nginx and contains the default webserver configuration for Magento 2.

What's in this image?

This image installs the following:

  • nginx

Variables

The following environment variables are used for Nginx configuration:

  • PHP_HOST: (default: phpfpm) The hostname of the PHP container.
  • PHP_PORT: (default: 9000) The port of the PHP container.
  • APP_MAGE_MODE: (default: default) Set the appropriate MAGE_MODE.

Docker Compose

Please see https://github.com/mageinferno/magento2-docker-compose for more detailed instructions and an example development environment using Docker Compose.