GithubHelp home page GithubHelp logo

x0rzkov / alpine-magento2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chellinki/alpine-magento2

0.0 0.0 0.0 86 KB

Magento 2 Running on alpine images with Nginx, MySQL, Varnish, PHP, Redis and using Traefik reverse proxy

License: MIT License

Dockerfile 46.02% Shell 53.98%

alpine-magento2's Introduction

Sharath Chandra Sreenidhi - Alpine based Docker Magento

                                         Alpine based Docker Magento 

Installation Steps: For local environments...

A) Clone the repository and change to the repo directory

git clone https://github.com/chellinki/alpine-magento2.git
cd alpine-magento2

B) Start the Traefik instance

docker-compose -f traefik/docker-compose.yml up -d

C) Start the Magento2 instance

docker-compose -f magento2/sharaths.yml up -d

Installation Steps: For production environments...

A) Clone the repository and change to the repo directory

git clone https://github.com/chellinki/alpine-magento2.git
cd alpine-magento2

B) Setup the Traefik configurations and start the Traefik instance

1) Setup the Traefik configurations
vi traefik.toml

Change domain = "local.com" to public domain name which you want to configure and add your emaid-id in email = "[email protected]"

Save the file traefik.toml and exit from vi editor

vi docker-compose.yml

Change traefik.frontend.rule=Host:traefik.local.com to the domain name which you have opted for traefik

Save the file docker-compose.yml and exit from vi editor

2) Start the Traefik instance
docker-compose -f traefik/docker-compose.yml up -d

C) Configure the sharaths.yml file and Start the Magento2 docker instance

1) Configure the sharaths.yml file
vi magento2/sharaths.yml

Change traefik.frontend.rule=Host:magento.local.com to the domain name which you have opted for magento store

Save the file sharaths.yml and exit from vi editor

2) Start the Magento2 docker instance
docker-compose -f magento2/sharaths.yml up -d

alpine-magento2's People

Contributors

chellinki avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.