Skip to content

Docker project developed for help to create containerized projects using Nginx features

Notifications You must be signed in to change notification settings

heytorvas/template-nginx-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy Reverse and Load Balance

Developed for help to create containerized projects using Docker with Nginx features.

Installation

  1. Install Docker and Docker Compose.
  2. Clone this repository or fork this repository:
git clone https://github.com/heytorvas/template-nginx-docker.git
  1. Change directory to repository:
cd template-nginx-docker

Environment

  1. Build the containers:
docker-compose build &

Reverse Proxy

  1. Up the containers:
docker-compose up nginx_rp &
  1. Run project:
http://localhost/server1
http://localhost/server2
http://localhost/server3

Load Balance

  1. Up the containers:
docker-compose up nginx_lb &
  1. Run project:
http://localhost

About

Docker project developed for help to create containerized projects using Nginx features

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published