-
Notifications
You must be signed in to change notification settings - Fork 51
1. What is this?
Michael Härtl edited this page Jul 18, 2016
·
4 revisions
This project is a template for your own Yii2 applications that should run with Docker. 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:7.0.8-apache
/php:5.6.18-apache
) -
PHP-FPM (based on
php:7.0.8-fpm
/php:5.6.18-fpm
) -
HHVM (based on
estebanmatias92/hhvm:3.8.1-fastcgi
)
You can easily choose which one you want to use by modifying the FROM
line in your Dockerfile
.