Yii2 example application.
- docker (tested on version 20.10.7-0ubuntu5~20.04.2)
- docker-compose (tested on version 1.25.0)
- make (tested on version 4.2.1)
- supervisor
- php 7.4 and php-fpm 7.4
- nginx
- startup shell scripts
Currently used PostgreSQL.
STARTUP_UPDATE_VENDORS
- if "true" runscomposer install -o
on startup. Used for local development.YII_ENV
- "dev" or "prod".YII_DEBUG
- "true" to enable yii debug module.DATABASE_DSN
- database configCOOKIE_VALIDATION_KEY
- value for\yii\web\Request::cookieValidationKey
make up
make help