devilbox/README.md
2017-05-16 20:38:15 +02:00

12 KiB

Devilbox The devilbox

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

Devilbox

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.


Quick start

You are up and running in three simple steps:

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

# Edit your configuration
$ vim .env

# Start all containers
$ docker-compose up

# Alternatively only start what you need
$ docker-compose up httpd php mysql redis

Documentation

Video Tutorials

Devilbox setup and workflow Devilbox email catch-all

Documentation

For setup, usage and examples see detailed Documentation.

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.

1/3 Base stack (required)

Webserver PHP
Build Status Apache 2.2 Build Status PHP 5.4
Build Status Apache 2.4 Build Status PHP 5.5
Build Status Nginx stable Build Status PHP 5.6
Build Status Nginx mainline Build Status PHP 7.0
Build Status PHP 7.1
Build Status HHVM latest

2/3 SQL stack (optional)

MySQL PostgreSQL
Build Status MySQL 5.5 Build Status PgSQL 9.2
Build Status MySQL 5.6 Build Status PgSQL 9.3
Build Status MySQL 5.7 Build Status PgSQL 9.4
Build Status MySQL 8.0 Build Status PgSQL 9.5
Build Status MariaDB 5.5 Build Status PgSQL 9.6
Build Status MariaDB 10.0
Build Status MariaDB 10.1
Build Status MariaDB 10.2
Build Status MariaDB 10.3

3/3 NoSQL stack (optional)

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

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

  • Virtual Host overview
  • MySQL Database overview
  • PostgreSQL Database overview
  • Email overview
  • PHP Info
  • MySQL Info
  • PostgreSQL Info
  • phpMyAdmin
  • Adminer
  • 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

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

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.