.devilbox | ||
cfg | ||
doc/img | ||
.gitignore | ||
docker-compose.yml | ||
env-example | ||
LICENSE.md | ||
README.md |
Devilbox
The devilbox is a docker-compose
setup for your prefered LAMP/LEMP stack.
It is basically a pre-configured set of the below listed docker containers including a custom intranet which gives you an overview about your projects and keeps track if they have been setup correctly.
There is no need to setup Virtual Hosts for new projects, all provided webservers are pre-configured with mass-virtual hosts and are automatically linked to a PHP-FPM server of your prefered version.
Easy usage
You are up and running in three simple steps:
# Copy the example configuration file
$ cp env-example .env
# Edit your configuration
$ vim .env
# Start the dockers
$ docker-compose up
Run-time Matrix
Select your prefered setup.
No need to install and configure different versions locally. Simply choose your required LAMP/LEMP stack combination during startup and it is up and running instantly.
Webserver | Database | PHP |
---|---|---|
Apache 2.2 | MySQL 5.5 | PHP 5.4 |
Apache 2.4 | MySQL 5.6 | PHP 5.5 |
Nginx stable | MySQL 5.7 | PHP 5.6 |
Nginx mainline | MariaDB 5 | PHP 7.0 |
MariaDB 10 | PHP 7.1 |
Feature overview
- Dynamically Configured Mass Virtual Hosting
- Configuration overwrites (
my.cnf
,nginx.conf
,httpd.conf
orphp.ini
) - Log files available on host computer
- MySQL socket (available on host computer and PHP container)
- MySQL connectivity (reachable from host computer and from PHP container via
127.0.0.1
andlocalhost
) - Xdebug
Intranet overview
The devilbox comes with a pre-configured intranet on http://localhost
- Virtua lHost overview
- Database overview
- PHP Info
- MySQL Info
- PHPMyAdmin
- Opcache GUI
Screenshots
Homepage with host / docker information
The homepage shows you the status of your current configured setup.
- which versions are used
- what directories are mounted
- what other settings have been set
Virtual Host overview
This overview shows you all available virtual hosts and if they need additional configuration (on the host)
Virtual Hosts are considered valid if the following requirements are met (on the host system):
htdocs
folder/symlink exists in your project folder/etc/hosts
has a valid DNS config for your host:127.0.0.1 <project-folder>.loc
)
Database overview
Shows you all the databases that are loaded