Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Feature: docker-sync #535

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

WIP: Feature: docker-sync #535

wants to merge 1 commit into from

Conversation

cytopia
Copy link
Owner

@cytopia cytopia commented Mar 10, 2019

docker-sync

GOAL

Run the Devilbox at acceptable performance on MacOS and Windows. (Ignore this PR for Linux)

DESCRIPTION

This PR adds docker-sync support to the Devilbox.

How to use it:

1. Requirements

1.1 MacOS

# Install docker-sync
sudo gem install docker-sync

# Install additional requirements
brew install unison
brew install eugenmayer/dockersync/unox

1.2 Windows

https://docker-sync.readthedocs.io/en/latest/getting-started/installation.html

2. Start

Stop and clean your stack first

# Clean
docker-compose stop
docker-compose rm

Start docker-sync (and wait until it finishes successfully):

docker-sync start

Start the Devilbox as usual

docker-compose up php httpd bind

3. Stop

  1. Ctrl+c to stop the Devilbox or docker-compose stop
  2. Clean state: docker-compose rm
  3. Stop docker-sync: docker-sync stop

@cytopia cytopia self-assigned this Mar 10, 2019
@cytopia cytopia added the WIP label Mar 10, 2019
@cytopia cytopia changed the title Feature: docker-sync WIP: Feature: docker-sync Mar 10, 2019
@cytopia cytopia mentioned this pull request Mar 10, 2019
@cytopia cytopia changed the base branch from release/v1.0.0 to master March 19, 2019 07:56
@cytopia cytopia force-pushed the docker-sync branch 2 times, most recently from 4e9b2ce to e8237c3 Compare April 28, 2019 16:49
daanggc
daanggc previously approved these changes May 27, 2019
Copy link

@daanggc daanggc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@JLNNN
Copy link

JLNNN commented Aug 16, 2019

Running brew install eugenmayer/dockersync/unox results in

ImportError: No module named setuptools

I tried installing python 3, using python --version says Python 3.7.4 but it's still not working.
If this isn't your business, ignore that.

Your changes on the pull request are working, but I'm not experiencing any increased loading speeds with a TYPO3/database site hosted in devilbox. TTFB is pending between 16 seconds and 1 minute. I guess the bottleneck is here the MySQL server/client.

@nicolabeghin
Copy link

Hi guys, any ETA for this PR to be merged into master or should we just use the commit ymls to experiment?

@CarlosRGL
Copy link

any news on this PR? gonna try with last version of devilbox.

@hielh
Copy link

hielh commented Nov 13, 2020

Hi Every one,
I'm using devilbox on ubuntu 20 for Magento 2. The problem is that the machine is very slow especially when we generated static file in Magento 2.
below an example of executing from the system ubuntu Vs executing from devilbox

  • Ubuntu it took: 10 s
  • Devilbox: 6 minutes
    image
    image

When I googled on some machine that are fast, I get this one: https://github.com/ModestCoders/magento2-dockergento
they explain why here machine is very fast in this link: https://github.com/ModestCoders/magento2-dockergento/blob/master/docs/overcome_performance_issues.md

I realy like to work with devilbox so my need is to synchronize juste some folder as they descirbe on the link above.
synchronize all git files but ignore vendor folder in Magento

Someone workt on Magento before in devil box ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants