Deploying Containers
Using GitLab CI/CD to deploy new containers with Docker swarm, and run the Drupal database update script.
The newest blog posts are available below. You can also use the tag list in the sidebar to jump to posts about a specific topic.
Using GitLab CI/CD to deploy new containers with Docker swarm, and run the Drupal database update script.
A simple job to prune old Docker objects on a runner.
A script to run on first build of the local dev environment including supporting Playwright, pa11y, and phpunit.
The devcontainer file specifies how VS Code will run this environment, including extensions, settings, and scripts.
Docker Compose for the Drupal setup, including a two-tiered approach for differentiating local.
How to build a project's Docker image in a GitLab CI/CD job and store it in the GitLab container registry.
Key scripts for a Drupal Docker setup includes connecting to and building the database, setting up key files with variables, and running Apache.
A Dockerfile for a Drupal dev environment including Apache, PHP, and XDebug, with some variation by environment.
Caches are an important tool in Drupal to keep page loads as efficient as possible, without risking showing old inaccurate information.
Drupal's entity_usage module is useful for tracking how entities relate to each other.