The stack is at heart a Debian-based sets of containers, using Nginx, PHP-FPM and MySQL.
There's a loose matching between a "service" and a "container" - although this not strictly true from a technical point of view, and some containers actually bundle several processes together - and we refer to either term indifferently in this documentation.
A 'named' network will be created by Vagrant at startup, and your /etc/hosts file is updated accordingly by the hostupdaters plugin.
This avoids conflicts with other docker-based solutions and allows for the use of 'preset' IPs: this is to overcome some limitations on Mac OS X and ensure - by adding some loopback aliases - that we don't have to rely on clumsy port forwarding and a project behaves consistently on all platforms.
The default network is 192.168.57.0/24, while the domain name is ce-vm.local, but this is configurable.
The following services are currently available.
Those services can not be 'disabled', as the others depends on them, and will be created even if they're not present in the 'service' list of your config.yml file.
- Log: a centralized syslog, using Frontail as the UI.
- Dashboard: a dashboard page, containing links to other services and useful information.
Those services are the most commonly used ones, and are enabled by default when generating a new project from http://ce-vm.codeenigma.net. You can however disable them in your config.yml file - provided you know what you're doing !
- NGINX: the Nginx webserver.
- PHP-FPM: the php interpreter for the webserver
- PHP-CLI: the main 'cli' container, to run php commands (composer, drush, console, ...) via ssh.
- MySQL: MySQL Community Edition