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
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 force-pushed the release/v1.0.0 branch from 57b2a5c to 1138c49 Mar 18, 2019
@cytopia cytopia changed the base branch from release/v1.0.0 to master Mar 19, 2019
@cytopia cytopia force-pushed the docker-sync branch 2 times, most recently from 4e9b2ce to e8237c3 Apr 28, 2019
Copy link

@daancart2quote daancart2quote left a comment

Looks good.

@JLNNN
Copy link

@JLNNN 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

@nicolabeghin nicolabeghin commented Sep 29, 2019

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

@CarlosRGL CarlosRGL commented Aug 14, 2020

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

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

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.