This repository gathers Docker and docker-compose skeletons for development environments.
app/
directory contains a sample "Hello World" php application.- For now, we have only one
docker-compose.yml
forphp-fpm
andnginx
images.
-
make setup
-
docker-compose up -d
-
Add following entries in
/etc/hosts
# php-dev-skeleton 127.0.0.1 php-docker.local
🎶 You should adapt with
SERVER_NAME
values in.env
-
Done !
docker-compose run php bash
docker-compose exec php bin/behat --config=behat/behat.yml