Public | Automated Build

Last pushed: 2 years ago
Short Description
Minimal and simple Docker scripts for Nginx configuration ready to run a Magento2 application.
Full Description

Docker

Nginx for Magento2

Minimal and simple Docker scripts for Nginx configuration ready to run a Magento2 application.

Variables

You may need to set up the next four environment variables, either as parameters when running the container or via a docker-compose.yml config file. This variables will be replaced on the virtualhost file added to the container.

nginx_root:     /var/www/code/
nginx_host:     magento2.local
php_host:       127.0.0.1:9000
mage_mode:      developer

Build

Just build the Nginx for Magento2 image as any other Docker image:

docker build -t magento2-nginx .
Docker Pull Command
Owner
lyracons