Skip to content

ykgoon/nginx-magento-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento - NginX - PHP-fpm

This is a container built and optimized to run Magento quickly.

Notable features:

  • Comes with all the standard magento requirements built-in
  • Symlinks all configuration files from /configs so, while testing/optimizing you can mount the folder instead of having to rebuild the image

Usage:

While recommended to check all configuration and rebuilding before using this in production the image should work out of the box.

Building

docker build -t nginx-magento .

Setup database

Database is run from a separate container.

  1. Create a container named mysql from this guide.

For development

  1. Soft link to your Magento code base in magento
  2. Run run.sh

For production

  1. Soft link to your Magento code base in magento
  2. Run this
docker run \
-v `pwd`/magento:/var/www \
-v `pwd`:/configs/ \
--name magento \
--link db:mysql \
-d nginx-magento

About

Docker container to run Magento with nginx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages