funkyproject/dockerize-magento1

Docker infrastructure defintions for Magento 1

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Language:Dockerfile

Type:magento-module

v0.1.2 2018-10-04 13:03 UTC

This package is auto-updated.

Last update: 2024-11-05 04:14:26 UTC


README

A composer package for dockerizing your Magento 1.9.x

The composer package funkyproject/dockerize-magento1 adds Docker and Docker Compose files to your Magento 1 project so you can run your Magento 1 shop without having to install Apache/Nginx, MySQL or PHP on your system.

Installation

Make sure you have the right deploy strategy for your project. Because docker will not work if your docker-compose.yml is just a symlink:

  • If you use the "copy" strategy, you don't have to change anything.

  • If you use the default "symlink" strategy you must create an exception for funkyproject/dockerize-magento1 in your composer.json:

    {
    	"extra":{
    		"magento-deploystrategy": "symlink",
            "magento-deploystrategy-overwrite": {
                "funkyproject/dockerize-magento1": "copy"
            }
    	}
    }

Add funkyproject/dockerize-magento1 to your Magento 1 project:

composer require funkyproject/dockerize-magento1

Choose a database name and the passwords for the root user and shop user in the .env file:

DATABASE_ROOT_PASSWORD=rootUserPassword68J49AC2224U3n9
DATABASE_USER=magento
DATABASE_PASSWORD=magentoUserPassword7pJ344229w6V6d6
DATABASE_NAME=magento1dockerized

Build and start the docker containers:

docker-compose up -d

Software Requirements

For Linux users you must have a recent version of docker and docker-compose installed.

If you are a Mac or Windows user, use Docker for Mac or Docker for Windows:

Licensing

dockerize-magento1 is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Related projects

This project is a fork of wambo/dockerize-magento1