make build make push
docker run -it --rm -e YII_INSTALL_TEMPLATE=true pvlg/yii2:php7.2-nginx
docker run -it --rm -p 80:80 -e YII_TEMPLATE=basic -e YII_INSTALL_TEMPLATE=true --name yii2 pvlg/yii2:php7.2-nginx
YII_TEMPLATE basic or advanced YII_INSTALL_TEMPLATE
ROOT_PASSWORD WWW_DATA_PASSWORD
Basic
APP_HOST APP_PORT APP_ROOT
Advanced
FRONTEND_HOST FRONTEND_PORT FRONTEND_ROOT
BACKEND_HOST BACKEND_PORT BACKEND_ROOT
Additional
CUSTOM_1_HOST CUSTOM_1_PORT CUSTOM_1_ROOT
CUSTOM_2_HOST CUSTOM_2_PORT CUSTOM_2_ROOT
CUSTOM_3_HOST CUSTOM_3_PORT CUSTOM_3_ROOT