This docker-compose file create 2 linked containers: db and php
It's the first container to be created, with the following ENV variables:
DB_USERNAME=happs
DB_PASSWORD=happs
DB_DATABASE=happs
- It's php:7.1
- Find installed mysql extensions as described in php image page
- Find installed composer
The usage is quite easy, after cloning this repo, move your current dir to where you have your code and run
docker-compose up -d -f path/happs/docker-compose.yaml
app will be available at http://localhost:8000