Easy-to-use Docker setup for local development by Docker Mate.
please note that this is intended for local development - deploying it to production is probably a bad idea
- Fast configuration: Choose system, enter your project's name and maybe add a git
- Backup/Restore routines for the database
- MailHog: Catch all outgoing mail for easy mail debugging
- phpMyAdmin: Direct database access
Please take a look into documentation.
docker
&docker-compose
- Configure your system to resolve
.docker
domains to127.0.0.1
e.g. with dnsmasq
- For native docker installs you need to configure your system to resolve
.docker
domains to127.0.0.1
- envsubstr for creating the env file & mkcert for SSL support
git clone https://github.com/docker-mate/docker-mate.git your-project
cd your-project
- Run
make up
and follow the instructions - Adjust your projects name (use kebab-case as this is also used for your local development domain)
- Your new project should start and you should be greeted with the local URLs where you can access it
- clone/put what-ever in app and app/web is document root
Run make up
to start everything and all other make
commands and how to extend them can be found in the documentation.