devilbox
devilbox copied to clipboard
WIP: Feature: docker-sync
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.
- Refs: #105
- Refs: https://github.com/EugenMayer/docker-sync/issues/649
How to use it:
- Docker sync docs: https://docker-sync.readthedocs.io/en/latest/index.html#
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
- Ctrl+c to stop the Devilbox or
docker-compose stop
- Clean state:
docker-compose rm
- Stop docker-sync:
docker-sync stop
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.
Hi guys, any ETA for this PR to be merged into master or should we just use the commit yml
s to experiment?
any news on this PR? gonna try with last version of devilbox.
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
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 ?