Sign inSign up

vhphan/magento

By vhphan

•Updated almost 6 years ago

Docker For A Magento 1.9.2.0 + Apache2

Image
0

860

vhphan/magento repository overview

⁠Docker image for Magento 1.x

⁠Please note

The primary goal of this repo is to create Docker images for Magento 1.x development and testing, especially for extensions and themes development. It lacks essential support for production deployment, e.g. Varnish and Redis. Use this wisely for production deployment.

This repo is only for Magento 1.x. If you are looking for Magento 2.x, check out alexcheng1982/docker-magento2⁠.

⁠Magento versions

VersionGit branchTag name

⁠How to use

⁠Use as standalone container

Magento is installed into /var/www/html folder.

⁠Use Docker Compose

Docker Compose⁠ is the recommended way to run this image with MySQL database.

A sample docker-compose.yml can be found in this repo.

version: '3.0'

services:
  web:
    image: vhphan/magento
    ports:
      - "80:80"
    links:
      - db
    env_file:
      - env
  db:
    image: mysql:5.6.23
    volumes:
      - db-data:/var/lib/mysql/data
    env_file:
      - env
  phpmyadmin:
    image: phpmyadmin/phpmyadmin
    ports:
      - "8580:80"
    links:
      - db
volumes:
  db-data:

Then use docker-compose up -d to start MySQL and Magento server.

Tag summary

Content type

Image

Digest

Size

356 MB

Last updated

almost 6 years ago

docker pull vhphan/magento