mirror of https://github.com/statping/statping
Page:
Cloud Foundry
Pages
API
AWS EC2
Badges
Build and Test
Bulk Import Services
Cloud Foundry
Commands
Config with .env File
Contributing
Development
Docker Compose
Docker
Environment Variables
Features
GraphQL
Heroku
Home
Issues and Solutions
Linux
Mac Linux Windows
Mac
Makefile
Mobile App
Notifier Events
Notifier Example
Notifiers
PGP Signature
Paid Hosting
Prometheus Exporter
SMTP Emailing
SSL
Sponsor Goal
Static Export
Static HTML Exporter
Terraform
Testing
Types of Monitoring
Windows
config.yml
services.yml
6
Cloud Foundry
Hunter Long edited this page 2021-12-22 15:43:10 -08:00
Table of Contents
Installation
For OSX, you can install the Cloud Foundry CLI tool from Brew.
brew install cloudfoundry/tap/cf-cli
Statping Yaml Config
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
Advanced Yaml Config
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.
Overview
Installation
Extras
Contact
Email: info@statping.com
Badges
Statping.com | Demo | Docker | Notifiers | API