heytorvas / template-nginx-docker

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Dockerfile 56.1%Language:Python 43.9%