-
-
Notifications
You must be signed in to change notification settings - Fork 645
Cloud Foundry
Hunter Long edited this page Dec 22, 2021
·
6 revisions
For OSX, you can install the Cloud Foundry CLI tool from Brew.
brew install cloudfoundry/tap/cf-cli
You can include multiple environment variables to the configg file. If you include DB_CONN
Statping will attempt to automatically connect to that database. View the Full List of Environment Variables to fully customize this config.
applications:
- name: statping
docker:
image: statping/statping
timeout: 180
env:
DB_CONN: sqlite / mysql / postgres
DB_HOST: ...
DB_PORT: ...
DB_DATABASE: ...
DB_USER: ...
DB_PASS: ...
Save this file as manifest.yml
and then run: cf push
applications:
- name: statping
docker:
image: statping/statping:((version))
timeout: 180
env: ((env))
Then you can run a command like:
cf push --var version=v0.80.53 --var env='DB_CONN: sqlite'
Thank you @giner for creating this documentation.
Statping.com | Demo | Docker | Notifiers | API
Email: info@statping.com