Drupal Docksal Starter Template
This project provides a clean, Composer-managed Drupal 11 starter site tailored for a smooth development experience with Docksal. It’s intentionally minimal, containing only Drupal core with no contributed modules or themes, making it ideal for developers who want full control over their project’s architecture from the first commit.
What’s Included
This starter ships with a preconfigured Docksal setup using the default LAMP stack, complete with image version pinning to ensure consistent environments. It also includes examples of PHP and MySQL configuration overrides, giving developers a convenient place to adjust settings without touching global system configs.
To streamline setup, the project includes a customizable fin init script that takes care of local bootstrapping tasks. Out of the box, it installs Drupal via Drush and prepares the environment, but you can extend it for tasks such as database imports, enabling modules, preparing settings files, running updates, or managing caches.
Getting Started
If you haven’t installed Docksal yet, begin with the official setup guide at https://docs.docksal.io/getting-started/setup/.
Once your environment is ready, clone the project:
git clone https://github.com/willjackson/Docksal-Drupal-11-Starter.git drupal11
cd drupal11
Run the initialization process:
fin init
This command installs Drupal, configures the environment, and prints login credentials to the terminal. When the process completes, your new site will be available at:
http://drupal11.docksal.site
Learn More
You can explore the full project, view the fin init script, and check out environment configuration examples on GitHub at https://github.com/willjackson/Docksal-Drupal-11-Starter.
This starter aims to provide a clean, dependable foundation for any Drupal 11 build running on Docksal, giving you a predictable environment and a blank slate to develop the features your project actually needs.
Docker in a Flash: Introduction to Drupal Development with Docker | Bay Area Drupal Camp 2017
This session is an introduction to Docker, optimized to provide insight on how the container-based model can optimize Drupal development and complement traditional development practices.
Docker images and Dockerfiles make collaborating and ramping up with projects a breeze and drastically reduce the amount of time required to create a working development environment for your Drupal-based projects.
Docksal, an open-source tool, can be leveraged to define and manage your Docker-based development environments. Docksal ensures that all developers are using the same software versions, regardless of their individual environments, and is compatible with macOS, Linux, and Windows.
Attendees are encouraged to have a firm grasp of development workflows, the command line, and a basic understanding of general system administration tasks.
Docker in a Flash: Introduction to Drupal Development with Docker | Texas Camp 2017
Introduction to Docker for Drupal Development
This session is focused on introducing Docker and demonstrating how the container-based model can optimize Drupal development, complementing traditional practices.
Docker images and Dockerfiles simplify collaboration and significantly reduce the time required to establish a functioning development environment for Drupal-based projects.
Docksal, an open-source tool, can define and manage Docker-based development environments effectively. It ensures consistent software versions across different developer setups and is compatible with MacOS, Linux, and Windows.
Attendees are encouraged to have a solid understanding of development workflows, command line usage, and basic system administration tasks.
Attendees Will Leave With:
- A basic understanding of Docker and its role in expediting the creation of Drupal development environments.
- Knowledge of implementing a Docker-based solution tailored to their needs.
- Information on community resources for Drupal Development with Docker.
Local Development with Docksal
Docksal: Streamlining Local Development Environments
Docksal is a Docker-based development tool designed to simplify the creation of local development environments. By minimizing the setup time, Docksal allows for rapid onboarding of new developers to projects.
Topics Covered
- Create a local development environment in minutes: Quickly set up a standardized development environment to ensure consistency across developers.
- Maintain the environment configuration via source control: Use source control to manage and version your development environment configurations, ensuring easy replication and sharing among team members.
- Create custom commands to automate and expedite development tasks: Enhance productivity by defining commands tailored to your project's needs, streamlining repetitive tasks.
- Integrating Docksal with pre-existing projects: Seamlessly incorporate Docksal into existing workflows to benefit from its streamlined environment management without overhauling current setups.