On board:
- Apache2
- vhost backend.local
- vhost frintend.local
- PHP5
- yii2-app-advanced
- codeception
- Mysql server
- dbname: web
- Redis server
$ composer install --prefer-dist
$ ./yii init
$ docker-compose build
$ docker-compose up -d
$ docker-compose stop
$ docker-compose ps
$ docker exec -it yii2appdocker_web_1 bash
$ ./test/codeception/bin/yii migrate
$ codecept build
$ codecept run
See docker-compose.yml