A modern Docker LAMP stack and MEAN stack for local development
Go to file
2016-11-06 17:22:29 +01:00
.devilbox Use absolute paths to include files 2016-11-06 17:21:59 +01:00
.github Feature/repo organization () 2016-10-31 14:55:15 +01:00
cfg Add ability for user-defined PHP config 2016-10-16 12:07:29 +02:00
doc/img Adding tutorial videos 2016-11-03 13:26:42 +01:00
.gitignore Add ability for user-defined PHP config 2016-10-16 12:07:29 +02:00
.travis.yml Fixing travis 2016-11-03 16:06:54 +01:00
CONTRIBUTING.md Clean Contributing file 2016-11-03 09:09:39 +01:00
docker-compose.yml Bind PHP docker to hotfix release v0.8.1 2016-11-06 17:22:29 +01:00
env-example Fix - Adding MariaDB 10.2 docker 2016-10-30 16:11:54 +01:00
LICENSE.md Initial commit 2016-10-09 18:47:49 +02:00
README.md Bind PHP docker to hotfix release v0.8.1 2016-11-06 17:22:29 +01:00

Devilbox The devilbox

Note for OSX:

There is currently a huge annoyance with docker on OSX resulting in very slow file access, because of directory mounts. Read about the ticket here Docker Forums #8076.

Latest feature: Email support...


Usage | Video Tutorials | Run-time Matrix | Features | Intranet | Contributing | Screenshots | License | Todo

Build Status Tag type License

The devilbox is a modern and highly customizable alternative for XAMPP. It is based on docker-compose with presets for all kinds of versions for webservers, database servers and php.

Configuration is not necessary, as everything is pre-setup with mass virtual hosting.

Supported operating systems

Linux Windows OSX

It might run on FreeBSD, but I don't know the status of docker-compose there.


Usage

You are up and running in three simple steps:

# (optional) check out latest stable release
$ git checkout $(git describe --abbrev=0 --tags)

# Copy the example configuration file
$ cp env-example .env

# Edit your configuration
$ vim .env

# Start the dockers
$ docker-compose up

What is the .env file?

Video Tutorials

Devilbox setup and workflow Devilbox email catch-all

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.

Base stack

Webserver MySQL PostgreSQL PHP
Build Status Apache 2.2 Build Status MySQL 5.5 PostgreSQL 9.2 Build Status PHP 5.4
Build Status Apache 2.4 Build Status MySQL 5.6 PostgreSQL 9.3 Build Status PHP 5.5
Build Status Nginx stable Build Status MySQL 5.7 PostgreSQL 9.4 Build Status PHP 5.6
Build Status Nginx mainline Build Status MariaDB 5.5 PostgreSQL 9.5 Build Status PHP 7.0
Build Status MariaDB 10.0 PostgreSQL 9.6 Build Status PHP 7.1
Build Status MariaDB 10.1
Build Status MariaDB 10.2

Note: Entries without links or without build-status are not yet available, but are coming soon. See ROADMAP for tasks and upcoming features.

Optional NoSQL stack

Cassandra CouchDB Memcached MongoDB Redis
Cassandra 2.1 CouchDB 1.6 Memcached latest MongoDB 2.6 Redis 2.8
Cassandra 2.2 CouchDB 2.0 MongoDB 3.0 Redis 3.0
Cassandra 3.0 MongoDB 3.2 Redis 3.2
MongoDB 3.4 Redis unstable

Note: Entries without links or without build-status are not yet available, but are coming soon. See ROADMAP for tasks and upcoming features.

Feature overview

  • Dynamically Configured Mass Virtual Hosting
  • Email catch-all (Intercept and view all sent emails)
  • Configuration overwrites (my.cnf, nginx.conf, httpd.conf or php.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 and localhost)
  • Xdebug

Intranet overview

The devilbox comes with a pre-configured intranet on http://localhost

  • Virtua lHost overview
  • Database overview
  • Email overview
  • PHP Info
  • MySQL Info
  • PHPMyAdmin
  • Opcache GUI

Contributing

There is quite a lot todo and planned. If you like to contribute, view CONTRIBUTING.md and ROADMAP.

Contributors will be credited within the intranet and on the github page.

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

Intranet Home

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

Database overview

Shows you all the databases that are loaded

Intranet DB

Email overview

Shows you all the emails that have been sent. No email will actually be sent outside, but they are all catched by one account and presented here.

Intranet Email