Skip to content

dhasek00/pynginx-accesstail-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pynginx-accesstail-docker

Dockerized version of the pynginx-accesstail

This will build and run containers to do the following:

  1. Run NGINX with PHP-FPM
  2. Run python instance of tail.py
  3. Run python instance of gentraffic.py (10 sec delay to allow nginx to start)

Gentraffic will send requests to the Nginx server 100 times at random intervals. This is used to test the tail.py script.

Nginx access log can be viewed at /var/log/nginx/access.log Pytail output can be viewed at /var/log/stats.log

USAGE

docker-compose is required

From pynginx-accesstail-docker directory

docker-compose up -d

About

Dockerized version of the pynginx-accesstail

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published