Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker container including appserver.io, MySQL, Redis and memcached in order to run Magento (CE).
Full Description

#Docker, appserver.io & Magento

Introduction

Dockerfile to build appserver.io, MySQL, Redis and memcached in order to run Magento (CE).

Requirements

  • Docker version >= v1.3
  • Docker Compose
  • GNU Linux Kernel version >= 3.16 on the host machine

Quick Start

  1. Clone the repository from GitHub

     git clone https://github.com/DavidFeller/docker-appserver-magento.git
     cd docker-appserver-magento
    
  2. Come up with a suitable name for your virtualHost and change config/virtual-hosts.xml as follows

  3. (Optional) Add the hostname to your hosts file, if you are in a development enviroment.
  4. Unpack the magento source to any directory on your local drive (e.g. /var/www/magento) and change the path in the volumes section of docker-compose.yml accordingly. In production environments, you also might want to change the credentials in the mysql section.
  5. Start all containers using docker-compose. Of course, it's possible to start them individually.

     docker-compose up
    


  1. Mission accomplished! Now switch to your browser, open your new virtual host (e.g. http://magento.dev) and install magento as usual. Make sure to enter mysql as database host (not localhost).
Docker Pull Command
Owner
davidfeller

Comments (0)