Skip to content

Sends a heartbeat to a URL if it can connect to a Postgres DB.

Notifications You must be signed in to change notification settings

nebulus-bot/postgres-heartbeat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postgresql Heartbeat

Note

This was written by somebody who does not know Rust! Please be patient with any bugs.

Sends a heartbeat to a URL if it can connect to a Postgres DB.

Setup

Docker Image

coming soon™

Custom Build

  1. Run cargo build --release
  2. The executable can be found in target/release/postgres-heartbeat
  3. Set the following environment variables:
    • HEART_SEC How many seconds should be between request attempts
    • HEART_URL The URL to send the heartbeat to
    • HEART_CONN The connection URL of the postgresql database
  4. Run the postgres-heartbeat executable

About

Sends a heartbeat to a URL if it can connect to a Postgres DB.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages