Using Docker Compose, you can easily run a PostgreSQL database and provide an environment where basic metrics can be collected and monitored.
Basically, Docker Compose is required. If you want to run it in a local environment, you can install Docker Desktop and proceed. If you are unable to install Docker Desktop in your environment, you can refer to this Link to install Docker and Docker Compose on your desired operating system and proceed.
You need to duplicate the .env.sample
file provided as a sample and rename it to .env
, then fill in the values that match your environment.
cp .env.sample .env
Once the environment configuration is completed, you can use Docker Compose to run the application.
docker compose up
You can access Grafana, which is installed along with the application, to check the current state of your PostgreSQL database.
http://localhost:3000