This page contains a quickstart to help you get PgHero up and running with Postgres Container Apps on Crunchy Bridge. We recommend you start with the quickstart to get an understanding of container apps.
From the original project: A performance dashboard for Postgres
Read more on GitHub.
PgHero with Container Apps Quickstart
First ensure you have Container Apps enabled with
CREATE EXTENSION pgpodman;. Once enabled you’ll need your DATABASE_URL from Crunchy Bridge to include in the command. To start your Hasura app you can run:
SELECT run_container('-dt -p 5433:8080/tcp -e DATABASE_URL="<DATABASE_URL>" -e PGHERO_USERNAME="<USERNAME>" -e PGHERO_PASSWORD="<PASSWORD>" ankane/pghero');
Now you can visit your running Hasura GraphSQL Engine at your hostname:5433.