Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 405 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 405 Bytes

whoami

Container displaying VIRTUAL_HOST environment variable. For nginx-proxy testing purposes.

Just run sudo docker build . -t jsfraz/whoami:latest to build an image, start container by sudo docker run -d --name whoami -e VIRTUAL_HOST=example.com -e VIRTUAL_PORT=8080 jsfraz/whoami:latest and open example.com in browser:

Example