Magento 2 Running on alpine images with Nginx, MySQL, Varnish, PHP, Redis and using Traefik reverse proxy
MIT License
Alpine based Docker Magento
Installation Steps
: For local environments...git clone https://github.com/chellinki/alpine-magento2.git
cd alpine-magento2
Traefik
instancedocker-compose -f traefik/docker-compose.yml up -d
Magento2
instancedocker-compose -f magento2/sharaths.yml up -d
Installation Steps
: For production environments...git clone https://github.com/chellinki/alpine-magento2.git
cd alpine-magento2
vi traefik.toml
Change
domain = "local.com"
to public domain name which you want to configure and add your emaid-id inemail = "[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
Traefik
instancedocker-compose -f traefik/docker-compose.yml up -d
Magento2 docker
instancevi 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
Magento2 docker
instancedocker-compose -f magento2/sharaths.yml up -d