Public Repository

Last pushed: 2 years ago
Short Description
Container for develop projects on Magento framework
Full Description

Nginx + PHP + n98 workflow.

  1. First pull jwilder/nginx-proxy image.
    Start nginx-proxy for many sites command:
    docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock jwilder/nginx-proxy

  2. Start magento container:
    docker run -e VIRTUAL_HOST=host2.local -d --name host2.local -v ~/Documents/magento/host2:/var/www/magento --link project-mysql:db mborodov/magento

  3. Know you ip for docker-machine with command:
    echo $(boot2docker ip)

  4. Edit host /etc/hosts.
    Sample:
    192.168.59.103 host1.local
    192.168.59.103 host2.local

Docker Pull Command
Owner
mborodov