A modern Docker LAMP stack and MEAN stack for local development
Go to file
2016-10-16 20:08:56 +02:00
.devilbox Better overview 2016-10-16 20:08:56 +02:00
cfg Add ability for user-defined PHP config 2016-10-16 12:07:29 +02:00
doc/img README 2016-10-10 13:06:47 +02:00
.gitignore Add ability for user-defined PHP config 2016-10-16 12:07:29 +02:00
docker-compose.yml Add ability for user-defined PHP config 2016-10-16 12:07:29 +02:00
env-example Adding more container 2016-10-10 10:16:09 +02:00
LICENSE.md Initial commit 2016-10-09 18:47:49 +02:00
README.md Better overview 2016-10-16 20:08:56 +02:00

Devilbox

The ultimate Docker-based LAMP/LEMP Stack for your development host.

Overview

  • All logs are available on your Host computer
  • MySQL localhost socket is available in PHP container
  • MySQL 127.0.0.1:3006 is available in PHP container
  • Xdebug is included

Run-time Matrix

You can choose any combination of the following docker images during run-time:

This is under active development. Only the linkable items work at the moment.

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

Start

  1. Copy env-example to .env
  2. Edit .env
  3. docker-compose up

Pre-configured Intranet

  1. Homepage with host / docker information
  2. Virtual Host overview
  3. Database overview
  4. PHPinfo() page

1. 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

Intranet Home

2. 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)

Intranet vHost

3. Database overview

Shows you all the databases that are loaded

Intranet DB