Public Repository

Last pushed: 4 months ago
Short Description
Short description is empty for this repo.
Full Description

Simple Node Application that shows different color for HTTP Routing Mesh Demos

This applciation will allow to change main page background using environment variable "COLOR"

Sample execution as container:

docker run --name green --rm -p 3000:3000 -ti --env COLOR=green hopla/hrm-colors-demo:1.0

Sample execution for HTTP Routing Mesh demos:

docker service create \
  --publish target=3000,published=8000 \
  --network ucp-hrm \
  --label com.docker.ucp.mesh.http=external_route=http://green.hoplalabs.org,internal_port=3000 \
  --name green \
  --env COLOR=green \
  hopla/hrm-colors-demo:1.0
Docker Pull Command
Owner
hopla

Comments (0)