![]() I’ll assume you have Docker installed are comfortable with creating new images with Dockerfiles and can launch images with Docker Compose. By extending the prebuilt Docker Hub Drupal we can start with a clean Drupal core, then extend to install Composer and Drush, install XDEBUG, and finally launch our container using Docker Compose. It can be deployed on a per-project basis, so there’s no need to commit.In this article I’m going to show how I setup a local Docker container running Drupal core to work on modules and other Drupal development tasks. It’s small to download and light on your system’s resources. Summaryįlight Deck is a minimal Docker-based, local Drupal development environment. Profiling is also just as easy to enable, and by using WebGrind, you can inspect the profile files without the need to install any further software. ![]() Need to debug some code or profile your site’s speed? Flight Deck has you covered! XDebug can be easily enabled by changing a few key lines of the. Then, run drush or your favorite tool as normal! You only need to enter into the web container to access any of these commands: While Flight Deck is minimal, it comes with a full set of command line tools to support your application development: You can load databases by connecting your SQL client to the MySQL default port, 3306. Once running, you can visit to access the site. Rename the Compose file to docker-compose.yml, and then start up the containers: ![]() The file supports Drupal 6 and 7, and supports Drupal 8. Once Docker is installed and running, you need to download two files from our Github repository:ĭocker-compose.ymlĭownload the Compose file for your version of Drupal. If you’re using Linux, consult your distribution’s documentation for how to install Docker. Docker provides specific packages for macOS and for Windows. Installing and using Flight Deckīefore using Flight Deck, you need to download and install Docker. Once a project is set up, it only needs two files added to the repository to share the same, standardized environment with every member of your team. This allows you to try it out on just one project, while keeping your existing local development environment the same for other sites. As a pure Docker-based solution, one only needs to download and install the latest version of Docker to use Flight Deck.įlight Deck is also a per-project solution. As such, we needed to switch between vastly different infrastructure requirements and tools quickly and consistently.įlight Deck allows us to achieve all these goals with a minimum of complexity, set-up, and resource overhead. We support many different projects, from legacy Drupal 6 sites to the latest Drupal 8 sites. We are mixed-OS, with some on macOS and others on Linux. Furthermore, our team faced a unique set of challenges. When we began creating Flight Deck, there weren’t many Docker-based solutions for local Drupal development. ![]() This includes Apache, PHP, MySQL, phpMyAdmin, Memcache and Apache Solr. It provides a complete set of infrastructure to run your Drupal site, while minimizing the space taken up on your hard drive. Unlike other solutions, Flight Deck is not an application or command you need to install, but a library of containers that can support any Drupal 6, 7, or 8 project.įlight Deck is designed to be small and light on resources. What is Flight Deck?įlight Deck is a set of Docker containers for local Drupal development. In recent years, however, we’ve seen a wealth of alternatives like Drupal VM, Lando, Docksal, and DDEV, which all leverage virtualization technologies.Īt TEN7, we’ve been steadily developing and migrating to our own solution, Flight Deck. The standard for local development environments for Drupal used to be MAMP, WAMP, or Acquia Dev Desktop. Update : See for the latest about Flight Deck. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |