This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Microservice application template

v0.2 2017-03-11 13:11 UTC

This package is not auto-updated.

Last update: 2021-06-02 03:10:04 UTC


Microservice skeleton based on yii2 framework.

Docker installation

Before installation

  1. Read about [docker] (https://docker.com). You should be familiar with basic concepts before starting.


  1. Follow [docker install] (https://docs.docker.com/engine/installation/) instruction
  2. Install composer globally (https://getcomposer.org/download/)
  3. Run the following command from the project root docker/start.sh

Docker FAQ

How do i run yii console command?

  1. docker-compose exec app console/yii help
  2. docker-compose exec app console/yii migrate
  3. docker-compose exec app console/yii migrate/down etc.

How to connect to the application database with my workbench?

MySQL is available on localhost, port 33061. User - api_dbu, password - api_pass.