This project provides a convenient docker development environment.
It comes preconfigured with the following container services:
- nginx
- php
- redis
- mongodb
- elasticsearch
Program | Version |
---|---|
docker | 1.10+ |
docker-compose | 1.6+ |
See SECRETS for the secrets generation.
. .env
app-build-docker-images
mkdir -p ../web
docker-compose up -d
app-hostnames
open https://dev.test/
php --version
phpunit --version
composer --version
redis-cli --version
mongo --version
mongorestore --version
mongodump --version
The working directory for a binary is set to that of its container,
e.g. /srv/www
for the php container and its php binaries.
As a result, we have to take this working directory into account, e.g.:
composer status -d dev.test
Released under the MIT license.