4 ms·
At work we used Docker for local development but not production, purely because we have some ageing internal systems and it made it easier to deal with differen
by deergomoo 6y ago
At work we used Docker for local development but not production, purely because we have some ageing internal systems and it made it easier to deal with different versions of PHP, MySQL, etc.
After numerous Docker woes on Mac I ended up just spending a tiny bit of time installing and configuring Nginx and various PHP-FPM and MySQL versions from MacPorts. It was easy, I learned a lot more about the platforms we use, and because they're all socket-based they can all be running at once. Just added a couple of bash functions to bring everything up and down.
Sure my dev environment isn't the same as prod, but it wasn't when I was using Docker either.
- markogresak 6y agoWe did this at my previous job. We tried with docker-sync and that was already a good improvement (~5x faster web app load speed). But the real improvement was moving to running the app natively, another 10x improvement. I’m talking about ~5s load times (default docker setup) to <100ms. I like the simplicity of setting up a docker project vs. having to figure all the bits and config for your machine. But the slow fs is unbearable.