mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-18 20:37:55 +00:00
A modern Docker LAMP stack and MEAN stack for local development
apachedevilboxdockerdocker-composedocker-lamplamplamp-stacklemplemp-stackmariadbmean-stackmysqlnginxphpphp-docker-stackphp7php71php72postgresqlredis
.devilbox | ||
cfg | ||
doc/img | ||
.gitignore | ||
docker-compose.yml | ||
env-example | ||
LICENSE.md | ||
README.md |
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
- Copy
env-example
to.env
- Edit
.env
docker-compose up
Pre-configured Intranet
- Homepage with host / docker information
- Virtual Host overview
- Database overview
- 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
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
)
3. Database overview
Shows you all the databases that are loaded