Using Postgres database on local machine

Hello,

I’m trying to run drone on my Raspberry Pi. I already made some tests and it’s running very nicely but I would like to use a Postgres database to store the data. I followed the steps at https://docs.drone.io/install/server/storage/postgres/ but I can’t seem to make Drone connect to my local database. According to the internet I need to use the hostname host.docker.internal to connect to the Docker host but Drone can’t resolve the hostname. In the logs it says it can’t resolve the hostname (probably because it’s using 8.8.8.8 for DNS).

So, is there any way to connect to a local Postgres database?