Skip to content
gauravbhaskar84Public

About

This is a Multi Container - It has PHP, Redis, Apache, HAPROXY and ELK Stack Installed.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

This project contains majorly 5 containers:

  1. php (to handle files received from apache containers)
  2. apache (2 containers - apache1 and apache2)
  3. redis (to save session from PHP)
  4. ELK Stack - to capture Apache Logs

To verify ELasticsearch - curl http://localhost:9200

To check logs in Kibana - http://localhost:5601 1. Create index using Management 2. Search via Discovery on the left hand side

To check if session are getting generated in redis, connect to the container (docker container exec -it <container_name> sh), connect to redis-cli and execute (keys *).

To verify - haproxy is working file - http://localhost will be pointed to http://localhost:8080 and http://localhost:8081, they both will serve php code via proxy to php container.

To use this project:

git clone https://github.com/gauravbhaskar84/MyTest.git cd MyTest docker-compose up -d

To check running container:

docker container ls -a

About

This is a Multi Container - It has PHP, Redis, Apache, HAPROXY and ELK Stack Installed.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages