Welcome to RollDev’s documentation!
==================================
RollDev is a pure-Bash CLI that orchestrates Docker development environments for PHP frameworks and
CMS platforms (Magento 1/2, Laravel, Symfony, TYPO3, Shopware, WordPress, Akeneo, Vue.js, plain PHP).
It contains no application code: every command assembles a docker compose invocation from layered
YAML fragments, or runs a command inside one of the resulting containers. A single shared stack
(Traefik, dnsmasq, Mailpit, an SSH tunnel) fronts any number of per-project environments, each
reachable over HTTPS at https://app.<project>.test/ with a locally trusted certificate.
macOS and Linux are both first-class, fully supported hosts, and Windows is supported through
WSL2. Every change has to work on macOS and Linux — the two differ in bash version, sed/ping
flag semantics, file-sync strategy and SSH agent handling, and RollDev runs on developer machines and
on unattended Linux hosts alike.
Under the hood docker-compose is used to control everything which RollDev runs (shared services as well as per-project containers) via the Docker Engine.
Features
Traefik for SSL termination and routing/proxying requests into the correct containers.
Dnsmasq to serve DNS responses for
.testdomains eliminating manual editing of/etc/hostsAn SSH tunnel for connecting from Sequel Pro or TablePlus into any one of multiple running database containers.
RollDev issued wildcard SSL certificates for running https on all local development domains.
Full support for Magento 1, Magento 2, Laravel, Symfony 4, Shopware 6 on both macOS (Intel and Arm) and Linux.
Ability to override, extend, or setup completely custom environment definitions on a per-project basis.
(Optional) Portainer for quick visibility into what’s running inside the local Docker host.
Getting Started
- Installing RollDev
- Global Services
- Magento 2 Project Initialization
- Magento 2 Init - Quick Reference
- RollDev Usage
- Environment Duplication
- Backup and Restore
- Encryption Support
- Backup & Restore Quick Reference
- Command Registry System
- Environments
- RollDev Configuration
- Alternative Shells
- Copying files between host and container
- Database Connections
- Automatic DNS Resolution
- Diagnosing an environment with
roll env doctor - Elasticsearch
- Grunt and LiveReload Setup
- Magento 2 Configurations
- Testing Magento 2
- Mailhog SMTP Configuration
- Magento Functional Testing Framework
- Multiple Domains
- New Relic Monitoring
- Allure Reporting
- Unattended operation
- Service version pins
- Xdebug Support
- Driving RollDev from a script
About RollDev