docker presentation for sharing

Post on 17-Feb-2017

162 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

We maximize your e-commerce success

1

We maximize your e-commerce success

2

Dockerized Magento development

We maximize your e-commerce success 3

Agenda

• Introduction• A word on Docker• Working on both Magento 1 &

Magento 2• Docker & Magento• Docker in action

We maximize your e-commerce success 4

Remko JantzenTechnical consultant | ISM eCompany

r.jantzen@ism.nl https://www.linkedin.com/in/remkojantzen/

Follow usFacebook.com/ism.ecompany

Linkedin.com/company/ism-ecompany

We maximize your e-commerce success

5

A word on Docker

We maximize your e-commerce success 6

A word on Docker

What?• Linux application container (LXC)• Single shared VM on non Linux• Amazon Web Services like setup• Lightweight on Linux

Why?• Stable application environment• Easy distribution• (Near) native performance

We maximize your e-commerce success 7

A word on Docker

• Compose multi-container apps / isolated network• Focused on development, testing, staging & CI environments• Simulate a network of services (similar to AWS)• Configurable per project

Docker - compose

Workstation

Project 1 Project 2

We maximize your e-commerce success

8

Working on both Magento 1 & Magento 2

We maximize your e-commerce success 9

Working on both Magento 1 & Magento 2

System requirements Magento 1• Apache 2.x or Nginx 1.7.x• PHP 5.4.x, 5.5.x• MySQL 5.6 (Oracle or Percona)

• Redis 2.6.9+

• Memcached• Apache Solr 3.6.2

System requirements Magento 2• Apache 2.2, 2.4 or Nginx 1.8+• PHP 5.5.x (x >= 22), 5.6.x, 7.0.2• MySQL 5.6 (Oracle or Percona)• PHP OPCache• Redis 3.0• Varnish 3.5, 4.x• Memcached• Apache Solr 4.x• RabbitMQ 3.5

• Conflicting system requirements• Some services are complex to install• Not all packages are available for every OS

We maximize your e-commerce success

10

Docker & Magento

We maximize your e-commerce success 11

Docker & Magento

Steps to setup your Docker development environment1. Select your base images for each service,

• Provider: Official / 3rd party / Own• Base OS: Debian / Ubuntu / CentOS

2. Start building your network with Docker Compose• Tweak the images for your personal case• Tweak the network for your preferences

3. Put your images, composer file, etc.. into a repository4. Share the repository with your team

We maximize your e-commerce success 12

Docker & Magento

Host

Nginx

Varnish

Nginx

PHP

. :608

1:8

0

:9000

:443:80.

:80

:443MySQL

SOLR

RabbitMQ

Redis

Memcache

./.d

ata/

mys

ql

./.d

ata/

solr

:330

6

:3306

:8983

:5672

:6379

:11211

We maximize your e-commerce success 13

Docker & Magento

Benefits you’ll experience• With well tested & well maintained Docker images: Less time spent on system configuration• Easy to work on different projects with different requirements• No more issues due to a different setup locally as on your hosting environment• AWS Ready: Your setup will be similar to Amazon, when taking advantage of the specialized services

• ElastiCache (Memcached, Redis), RDS (MySQL), EC2 (Nginx, PHP, SOLR, Varnish)

We maximize your e-commerce success

14

Docker in action

We maximize your e-commerce success 15

Remko JantzenTechnical consultant | ISM eCompany

r.jantzen@ism.nl https://www.linkedin.com/in/remkojantzen/

Follow usFacebook.com/ism.ecompany

Linkedin.com/company/ism-ecompany

top related