Public | Automated Build

Last pushed: 6 months ago
Short Description
Web Servers for Testing Load Balancer
Full Description

Usage

Start docker image normally.

docker run -p 10000:80 -dit sig9/docker-miniweb

Specify node name (LB_NODE) and color (LB_COLOR).

docker run -p 10000:80 -e LB_COLOR=green -e LB_NODE=Web-01 -dit sig9/docker-miniweb

How to start multiple servers

Docker-Compose

docker-compose up -d

Shell Script

for port in $(seq 1 100); do docker run -p `expr $port + 10000`:80 -e LB_NODE=Web-$port --name Web-$port -dit sig9/docker-miniweb; done
Docker Pull Command
Owner
sig9
Source Repository