mage2tv / topics

Discussion and voting on future and existing mage2.tv topics.
27 stars 1 forks source link

[Development Environment] Docker Container Development Environment #160

Open beejhuff opened 6 years ago

beejhuff commented 6 years ago

Vinai, I wasn't sure if you had already put any time into this, but I'm focusing a bit now on leveraging Docker for Dev / Test / and eventually Production Deployments so I thought I'd add this topic in to cover the first steps in that chain.

beejhuff commented 6 years ago

@Vinai I wanted to create a main topic on Deployment questions I'm curious to learn more about...Before I create a bunch of issues in your repo and mess up your organizational groupings...I thought we might use the comments on this issue to flesh out how you might classify and/or separate the topics of deployment / CI / CD - at least as they might apply to using Docker containers in that workflow.

Of course, there's a lot of other ground to cover in the area of Deployment / CI / CD but I thought it might make sense to start here...

Would you want to start with something like:

[Deployments] Deploying Magento 2 to a non-Production Environment using Docker for testing (CI/CD)

I figure this topic would cover setting up a few containers (1 primary process per container w/ a relatively simple M2 CE / Open Source base. Might follow up with one use Enterprise / Commerce that splits up the tiers into separate containers (including the multiple databases for each main data repo for Orders, Catalog, etc...as well as a staging server / Varnish / ...

The following one on CI / CD would be similar but leverage some kind of orchestration to get all of the containers (and enough of them) in sync.

I'd be willing to work on this with you if you're open to that idea and/or haven't spent much time already on this topic area.

Vinai commented 6 years ago

Thanks for opening the topic! This is a duplicate of https://github.com/mage2tv/topics/issues/3 though. Since this one has a lot more content now, I'll just close the other one.

Vinai commented 6 years ago

Regarding what you wrote, this is a big topic, and an important one. I have done some work regarding CI/CD and docker, but I don't have a satisfactory recipe. Lets see how much votes this topic gathers.

beejhuff commented 6 years ago

Soudns good - we'd have to start at this base level then build up from there anyways, so if there's demand, the market should let us know! I just ate too many waffles & syrup so I thought I'd drop a dancing emoji before I 💃 left for the office 😂

ronald2wing commented 3 years ago

@beejhuff It is very easy to setup a docker container for Magento nowaday and very fast with Linux. docker-compose.yml can be shared on multiple projects.