Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 746 Bytes

File metadata and controls

37 lines (20 loc) · 746 Bytes

Docker skeletons for developments

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 for php-fpm and nginx images.

Installation :

  • 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 !

URL :

Usages :

  • docker-compose run php bash

Run functional tests

  • docker-compose exec php bin/behat --config=behat/behat.yml