-
Notifications
You must be signed in to change notification settings - Fork 51
1. What is this?
Michael Härtl edited this page Sep 9, 2015
·
4 revisions
This project is a template for your own Yii2 applications. You can use it as a starting point and modify it to fit your requirements. It's based on the codemix/yii2-base docker image.
- Ephemeral container, configured via environment variables
- Testing container for easy testing
- Optional local configuration overrides for development/debugging (git-ignored)
- Base scaffold code for login, signup and forgot-password actions
- Flat configuration file structure
- Supports docker image based development workflow
The yii2-base
image comes in three flavours:
-
Apache with PHP module (based on
php:5.6.10-apache
) -
PHP-FPM (based on
php:5.6.10-fpm
) -
HHVM (based on
estebanmatias92/hhvm:3.7.0-fastcgi
)
You can easily choose which one you want to use by modifying the FROM
line in your Dockerfile
.