2

We are 2 developers using Linux,1 designer using Windows.

We have 3 environments (develop-virtual,test-virtual in one server).

And live-its in different server.

We are using git with 3 branches: master, develop, test in gitlab.

we will pull develop branch in developing virtual server, test branch in the test server. and master branch in live server.

Now I'm trying to use docker with git. https://github.com/mageinferno/magento2-docker-compose

I have cloned above repo in my local Linux system and installed Docker. also, i have setup Magento 2. so now I can browse magento2 site also I can edit files from my system. up to this point, everything is OK.

Now my query is: How to commit my code, and how to use Docker in another developer, designer,3 environments?

I don't find proper use cases here. one advantage I can find I can configure almost live system config in my local system.

asked Jul 6, 2017 at 7:32

1 Answer 1

2

From my experience
You should create private repository in github or bitbucket for store all code. You can management all pull/push code by git. Bitbucket is free (good plus) for private repository.
For communication between developers you can use Trello , Slack, Skype..

For deployment you can use DockerHub (cloud docker images) for manager all your images you can build from local and push to hub, Or pull public images from docker community

Manager configuration and automation build you can take a look at Ansible

Production Server
-- docker-compose for production

Dev Server
-- configiuration
-- stagging area
-- test area
-- src
-- -- dev1
-- -- dev2
-- -- designer

Each user will have same docker-compose file configuration

Btw this topic quite large and seem not related much with magento

answered Jul 6, 2017 at 15:26

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.