Skip to content

CharlyF/dockerland

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose-php

docker-compose setup to run latest PHP 7 under Nginx with every container outputting it's logging to the docker daemon.

Purpose

Create the ultimate development environment

Install

Install docker and docker-compose

Run

$ git clone https://github.com/CharlyF/dockerland
$ cd Martin
$ docker-compose build
$ docker-compose up -d

Test

Open url http://localhost:8080 and you will the Gantt Diagram with preloaded entries from .docker/data/mysql/db.sql alt text

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

TODO:

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

About

A few projects used for talks or just fun.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published