Small demo app which provides a tiny web app displaying a Pokemon. Used for demonstration purposes.
Pokesrv demo app.
This web app is used as a demo application which brings up a HTTP service with some Pokemon content.
The actual content can be influenced by an environment variable, a command line flag or the hostname.
# Build binary go build . # Use the hostname to pick a pseudo-random pokemon pokesrv # Bypassing the randomness with an environment variable POKEMON=gengar pokesrv # Bypoassing the randomness with a command line parameter pokesrv -pokemon pikachu # Just run this through Docker docker run -d -p 8080:8080 tolleiv/pokesrv
Docker Pull Command