docker-compose setup to run latest PHP 7 under Nginx with every container outputting it's logging to the docker daemon.
Create the ultimate development environment
Install docker and docker-compose
$ git clone https://github.com/CharlyF/dockerland
$ cd Martin
$ docker-compose build
$ docker-compose up -d
Open url http://localhost:8080 and you will the Gantt Diagram with preloaded entries from .docker/data/mysql/db.sql
You will see a few services, including a Datadog agent running as well as redis and nginx.
The stub_module is enabled on the nginx container, so you can access the metrics by visiting http://localhost:8080/nginx_status
You will also see a Hello World python app that interacts with redis while visiting http:localhost:5000. Note that all the interations will push metrics to the Datadog agent. Notably: mysql /INNODB redis python (custom metrics of the number of visitors) nginx
The python app is the premise of the activity log captures. It should be able to get the necessary elements and pus them to mysql.
Credits: https://github.com/devigner/docker-compose-php https://github.com/DataDog/docker-compose-example