Magento 2 Running on alpine images with Nginx, MySQL, Varnish, PHP, Redis and using Traefik reverse proxy
Alpine based Docker Magento
Installation Steps
: For local environments…
git clone https://github.com/chellinki/alpine-magento2.git
cd alpine-magento2
Traefik
instance
docker-compose -f traefik/docker-compose.yml up -d
Magento2
instance
docker-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 = "test@test.com"
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 traefikSave the file docker-compose.yml and exit from vi editor
Traefik
instance
docker-compose -f traefik/docker-compose.yml up -d
Magento2 docker
instance
vi magento2/sharaths.yml
Change
traefik.frontend.rule=Host:magento.local.com
to the domain name which you have opted for magento storeSave the file sharaths.yml and exit from vi editor
Magento2 docker
instance
docker-compose -f magento2/sharaths.yml up -d