Sign inSign up

hopla/hrm-colors-demo

By hopla

Updated over 9 years ago

Image
0

226

hopla/hrm-colors-demo repository overview

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

Tag summary

Content type

Image

Digest

Size

13.6 MB

Last updated

over 9 years ago

docker pull hopla/hrm-colors-demo:1.0