, (*1)
conti - Utility for your docker development environment
conti helps you to interact with your docker development environment. It provides some useful commands to speed up your development based on docker containers., (*2)
Installation
To install conti you just have to execute the following command:, (*3)
composer require egobude/conti
````
Then you can call it via
vendor/bin/conti, (*4)
## Usage
### Default usage:
vendor/bin/conti help, (*5)
### Flow Framework usage:
bin/conti help, (*6)
## Setup your project
Open a shell and run the setup: ```bin/conti install docker.dev```
Use any domain name here, but make sure to add the corresponding DNS entry. Then you can start your containers via ```bin/conti up # shortcut to docker-compose up -d```
Use ```bin/conti help``` to list all available commands.
## General tips
### Use custom images
If you want to use custom images you can override them via env variable. The following env variables are available:
* CONTI_IMAGE_MARIADB, [zeroboh/mariadb:10.1-debian-jessie](https://hub.docker.com/r/zeroboh/mariadb/tags/)
* CONTI_IMAGE_NGINX, [zeroboh/nginx:1.11-alpine](https://hub.docker.com/r/zeroboh/nginx/tags/)
* CONTI_IMAGE_PHP, [zeroboh/php:7.1-fpm-alpine](https://hub.docker.com/r/zeroboh/php/tags/)
* CONTI_IMAGE_COMPOSER, [composer/composer:1-php5-alpine](https://hub.docker.com/r/composer/composer/tags/)
### How to dump your database?
To dump your database during development you can call the following command. It will create a new .sql file in the ./mysql-backup folder.
bin/conti mysqldump
```, (*7)