2018-07-25 06:56:45 +00:00
|
|
|
.. include:: /_includes/all.rst
|
2019-03-07 15:35:54 +00:00
|
|
|
.. include:: /_includes/snippets/__ANNOUNCEMENTS__.rst
|
2018-07-25 06:56:45 +00:00
|
|
|
|
2018-04-03 00:06:12 +00:00
|
|
|
.. _features:
|
|
|
|
|
|
|
|
********
|
|
|
|
Features
|
|
|
|
********
|
|
|
|
|
|
|
|
This section gives you a brief overview about the available features.
|
|
|
|
|
|
|
|
|
|
|
|
**Table of Contents**
|
|
|
|
|
|
|
|
.. contents:: :local:
|
|
|
|
|
|
|
|
|
|
|
|
Projects
|
|
|
|
========
|
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Unlimited projects
|
|
|
|
^^^^^^^^^^^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
The number of projects you can add are so to speak unlimited. Simply add new project directories
|
2018-04-11 07:03:36 +00:00
|
|
|
and they become automatically available in no time.
|
2018-04-03 00:06:12 +00:00
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Automated virtual hosts
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
Creating a new project is literally done by creating a new directory on the file system.
|
|
|
|
Everything else is automatically taken care of in the background. Virtual hosts are added
|
|
|
|
instantly without having to restart any services.
|
|
|
|
|
2018-05-07 07:08:37 +00:00
|
|
|
Automated SSL certificates
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Whenever a new project is created, SSL certificates are generated as well and assigned to that
|
|
|
|
virtual host. Those certificates are signed by the Devilbox certificate authority which can be
|
|
|
|
imported into your local browser to make all certificates valid and trusted.
|
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Automated DNS records
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
The built-in DNS server will automatically make any DNS record available to your host system by
|
2018-08-05 00:43:22 +00:00
|
|
|
using a wild-card DNS record. This removes the need to create developer DNS records
|
|
|
|
in ``/etc/hosts``.
|
2018-04-03 00:06:12 +00:00
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Email catch-all
|
|
|
|
^^^^^^^^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
All outgoing emails originating from your projects are intercepted, stored locally and
|
2018-08-05 00:43:22 +00:00
|
|
|
can be viewed within the bundled intranet.
|
2018-04-11 07:03:36 +00:00
|
|
|
|
|
|
|
Log files
|
|
|
|
^^^^^^^^^
|
|
|
|
Log files for every service are available. Either in the form of Docker logs or as actual log files
|
|
|
|
mounted into the Devilbox git directory. The web and PHP server offer log files for each project
|
|
|
|
separetely.
|
|
|
|
|
|
|
|
Virtual host domains
|
|
|
|
^^^^^^^^^^^^^^^^^^^^
|
2018-08-04 14:22:54 +00:00
|
|
|
Each of your virtual host will have its own domain. TLD can be freely chosen, such as ``*.loc`` or
|
2018-08-05 01:04:03 +00:00
|
|
|
``*.local``. Be aware that some TLD's can cause problems. Read more here: :ref:`env_tld_suffix`.
|
2018-04-03 00:06:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
Service and version choice
|
|
|
|
==========================
|
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Selective start
|
|
|
|
^^^^^^^^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
Run only the Docker container you actually need, but be able to reload others on the fly once
|
2018-04-11 07:03:36 +00:00
|
|
|
they are needed. So you could first startup PHP and MySQL only and in case you would require
|
|
|
|
a Redis server you can attach it later to the Devilbox stack without having to restart anything.
|
2018-04-03 00:06:12 +00:00
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Version choice
|
|
|
|
^^^^^^^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
Each provided service (such as PHP, MySQL, PostgreSQL, etc) comes in many different versions.
|
|
|
|
You can enable any combination that matches your perfect development stack.
|
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
LAMP and MEAN stack
|
|
|
|
^^^^^^^^^^^^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
Run a full LAMP stack with Apache or Nginx and even attach MEAN stack services such as MongoDB.
|
|
|
|
|
|
|
|
|
|
|
|
Configuration
|
|
|
|
=============
|
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Global configuration
|
|
|
|
^^^^^^^^^^^^^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
All services can be configured globally by including your very own customized
|
2018-04-11 07:03:36 +00:00
|
|
|
``php.ini``, ``php-fpm.conf``, ``my.cnf``, ``nginx.conf``. ``apache.conf`` and other
|
|
|
|
configuration files.
|
2018-04-03 00:06:12 +00:00
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Version specific configuration
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Each version of PHP can have its own ``php.ini`` and ``php-fpm.conf`` files,
|
|
|
|
each version of MySQL, MariaDB or PerconaDB can have its own ``my.cnf`` files,
|
|
|
|
each Apache..., each Nginx... you get the idea.
|
2018-04-03 00:06:12 +00:00
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Project specific configuration
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
Even down to projects, the Devilbox allows for full customization when it comes to virtual host
|
2018-07-25 06:56:45 +00:00
|
|
|
settings via |ext_lnk_project_vhost_gen|.
|
2018-04-03 00:06:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
Intranet
|
|
|
|
========
|
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Command & Control Center
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
The intranet is your Command & Control Center showing you all applied settings, mount points,
|
|
|
|
port exposures, hostnames and any errors including how they can be resolved.
|
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Third-party tools
|
|
|
|
^^^^^^^^^^^^^^^^^
|
2018-12-28 21:44:50 +00:00
|
|
|
Mandatory web projects are also shipped: |ext_lnk_tool_phpmyadmin|, |ext_lnk_tool_phppgadmin|,
|
|
|
|
|ext_lnk_tool_phpredmin|, |ext_lnk_tool_adminer| and |ext_lnk_tool_opcachegui| as well as a web GUI
|
|
|
|
to view all sent emails.
|
2018-04-03 00:06:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
Dockerized
|
|
|
|
==========
|
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Portable
|
|
|
|
^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
Docker container run on Linux, Windows and MacOS, so does the Devilbox. This ensures that no
|
|
|
|
matter what operating system you are currently on, you can always run your development stack.
|
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Built nightly
|
|
|
|
^^^^^^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
Docker images (at least official Devilbox Docker images) are built nightly and pushed to
|
|
|
|
Dockerhub to ensure to always have the latest versions installed and be up-to-date with any
|
|
|
|
security patches that are available.
|
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Ships popular development tools
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
The Devilbox is also designed to be a development environment offering many tools used for
|
|
|
|
everyday web development, no matter if frontend or backend.
|
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Work inside the container
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
Instead of working on you host operating system, you can do everything inside the container.
|
|
|
|
This allows you to have all tools pre-installed and a working unix environment ready.
|
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Work inside and outside the container interchangeably
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
No matter if you work on your host operating system or inside the Docker container. Special
|
|
|
|
mount points and port-forwards are already in place to make both look the same to you.
|
|
|
|
|
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Others
|
|
|
|
======
|
2018-04-03 00:06:12 +00:00
|
|
|
|
2018-04-11 07:03:36 +00:00
|
|
|
Work offline
|
|
|
|
^^^^^^^^^^^^
|
|
|
|
The Devilbox only requires internet initially to pull the required Docker images, once this is done
|
|
|
|
you can work completely offline. No need for an active internet connection.
|
|
|
|
|
|
|
|
Hacking
|
|
|
|
^^^^^^^
|
2018-04-03 00:06:12 +00:00
|
|
|
Last but not least, the Devilbox is bascially just a ``docker-compose.yml`` file and you can
|
|
|
|
easily add any Docker images you are currently missing in the Devilbox setup.
|
2018-04-11 07:03:36 +00:00
|
|
|
|