Name: test-app
Owner: Cloud Foundry Sample Applications
Description: Simple demo or test application for Cloud Foundry
Created: 2016-05-09 15:39:48.0
Updated: 2017-12-02 19:41:34.0
Pushed: 2017-04-21 17:49:00.0
Homepage: null
Size: 84
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
ush test-app
/
: a simple landing page displaying the index and uptime/env
: displays environment variables/exit
: instructs the app to exit with status code 1/index
: returns the application index/port
: returns the local port the request was received onBy 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 test-app -c "test-app --ports=7777,8888"
Simple App is also packaged as a docker image at cloudfoundry/test-app
ush my-test-app -o cloudfoundry/test-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.