Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chellinki/alpine-magento2
Magento 2 Running on alpine images with Nginx, MySQL, Varnish, PHP, Redis and using Traefik reverse proxy
https://github.com/chellinki/alpine-magento2
alpine docker-compose docker-container docker-images dockerfiles magento2 mariadb mysql nginx php-fpm php7 redis-cache traefik traefik-configurations varnish-cache yml
Last synced: 3 months ago
JSON representation
Magento 2 Running on alpine images with Nginx, MySQL, Varnish, PHP, Redis and using Traefik reverse proxy
- Host: GitHub
- URL: https://github.com/chellinki/alpine-magento2
- Owner: chellinki
- License: mit
- Created: 2018-12-14T12:32:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-19T18:34:02.000Z (over 4 years ago)
- Last Synced: 2024-09-30T23:03:16.333Z (4 months ago)
- Topics: alpine, docker-compose, docker-container, docker-images, dockerfiles, magento2, mariadb, mysql, nginx, php-fpm, php7, redis-cache, traefik, traefik-configurations, varnish-cache, yml
- Language: Shell
- Homepage:
- Size: 84 KB
- Stars: 11
- Watchers: 5
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
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
```bash
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
```