Microservice skeleton based on yii2 framework.
Before installation
- Read about [docker] (https://docker.com). You should be familiar with basic concepts before starting.
- Follow [docker install] (https://docs.docker.com/engine/installation/) instruction
- Install composer globally (https://getcomposer.org/download/)
- Run the following command from the project root
docker/start.sh
How do i run yii console command?
docker-compose exec app console/yii help
docker-compose exec app console/yii migrate
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
.