Total Pageviews

5,393,448

Sunday, 23 March 2025

docker-cluster

 

Background

For the back-end understanding is not deep enough, and can not form a better system, I hope to build a more complete back-end infrastructure with the help of docker, and get more knowledge.

Function

Use different ports to represent different machines.

  • Load balancing based on nginx 8081

  • code base php7.4,yaf

Environment

nameversion
ubuntu20.04
docker20.10.2
docker-compose1.29.2

Extra

Used docker images

  • nginx

  • srcrs/nginx-yaf

base linux php7.4-fpm nginx

Use

docker-compose up -d

Schedule


from https://github.com/srcrs/docker-cluster

No comments:

Post a Comment