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

Speed up the PHP-container response #51

Closed
Atala opened this issue Aug 29, 2017 · 6 comments
Closed

Speed up the PHP-container response #51

Atala opened this issue Aug 29, 2017 · 6 comments
Assignees

Comments

@Atala
Copy link
Member

Atala commented Aug 29, 2017

On my machine (OSX Yosemite), the PHP container is damn slow to responds when developing in the browser.

Do you have the same issue?

@alexsegura
Copy link
Member

Nope. Maybe try to build the containers again?

docker build

@Atala
Copy link
Member Author

Atala commented Aug 29, 2017

I solved it by adding the cached option to the volume for PHP. Let's see if it's suitable for dev.

@clementtalleu
Copy link
Contributor

do you use d4m ? install https://github.com/IFSight/d4m-nfs before docker-compose up -d it's pretty much faster

@Atala
Copy link
Member Author

Atala commented Aug 31, 2017

I will give it a try - I used to have docker-osx-dev when I was using Docker + Virtualbox.

@Atala
Copy link
Member Author

Atala commented Dec 3, 2017

@clementtalleu do you use it with webpack - it is very nice and webpack get notified of FS events, but there is an issue (permissions maybe?):
Module build failed: Error: EIO: i/o error, open '/srv/coopcycle/js/app/cart/Cart.jsx'

@Atala
Copy link
Member Author

Atala commented Jan 2, 2018

Use of docker-sync helps for this.

What helped a lot on my machine : allow more CPUs for docker.

@Atala Atala closed this as completed Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants