Skip to content

pastuhov/yii2-app-advanced-docker

Repository files navigation

Experemental dockerized yii2-app-advanced.

On board:

  • Apache2
    • vhost backend.local
    • vhost frintend.local
  • PHP5
    • yii2-app-advanced
    • codeception
  • Mysql server
    • dbname: web
  • Redis server

Start up

$ composer install --prefer-dist
$ ./yii init

Build

$ docker-compose build

Run

$ docker-compose up -d

Stop

$ docker-compose stop

Lists containers

$ docker-compose ps

Go to console

$ docker exec -it yii2appdocker_web_1 bash

Run tests inside

$ ./test/codeception/bin/yii migrate
$ codecept build
$ codecept run

More info

See docker-compose.yml

Releases

No releases published

Packages

No packages published

Languages