Sign inSign up

dmclink/hello-postgres

By dmclink

•Updated 5 months ago

C++ project that connects to a postgres database and pushes timestampts to it every 5 minutes.

Image
0

10K+

dmclink/hello-postgres repository overview

A persistent running C++ project that pushes a timestamp to the database given at DATABASE_URL

Requires a database connection at the env DATABASE_URL. Run the container with: docker run -e DATABASE_URL="postgresql://username:password@localhost:5432/dbname" dmclink/hello-postgres

Every 5 minutes you should see a new entry on table 'heartbeat'

Tag summary

Content type

Image

Digest

sha256:81a1fa2b7…

Size

35.9 MB

Last updated

5 months ago

docker pull dmclink/hello-postgres