Name: lattice-app
Owner: Cloud Foundry Sample Applications
Description: A Demo Application for Lattice
Created: 2014-12-02 17:33:52.0
Updated: 2016-03-14 05:40:19.0
Pushed: 2016-05-09 18:36:36.0
Homepage: null
Size: 80
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Lattice has been deprecated. Please use the new test-app.
ush lattice-app
/
: a simple landing page displaying the index and uptime
/env
: displays environment variables
/exit
: instructs Lattice to exit with status code 1
/port
: returns the local port the request was received on
By providing a customer start command, you can configure the app to listen on multiple ports. The app responds the same way to each port.
ush lattice-app -c "lattice-app --ports=7777,8888"
Lattice-App is packaged as a docker image at cloudfoundry/lattice-app
create lattice-app cloudfoundry/lattice-app
ild.sh
Assumes you have the go toolchain (with the ability to cross-compile to different platforms) and docker installed and pointing at your docker daemon.