Sharing Docker Volumes in DDEV
In a recent project, we dealt with 2 DDEV instances — 2 applications that need to communicate with each other or, more specifically, exchange files.
In a recent project, we dealt with 2 DDEV instances — 2 applications that need to communicate with each other or, more specifically, exchange files.
Adding custom Javascript code to the Sulu Admin UI requires a rebuild of the administration interface frontend application. According to the Sulu docs, running the following command is enough:
bin/adminconsole sulu:admin:update-build
Sadly, this did not work in our ddev setup because ddev ships with a newer version of npm. Due to a breaking change for linked packages, Sulu is not compatible with npm > 6 at the moment.
Since we are currently moving to DDEV to standardize our Docker development setups, I was wondering how easy it will be to add my favorite Git Hook Manager CaptainHookPHP to the setup.
For a while we've been using DDEV to standardize our docker setup for development and to have a consistent way of interacting with Docker across all our projects (e.g., Magento, Symfony, Sulu, Sylius, API Platform, ...). Since most of our developers are using PHPStorm as their IDE of choice, using the DDEV Tool Integration for IntelliJ IDEA plugin was a natural choice.