Hasura config file with postgres 15 and open 5432 port docker file
Change this to your pannel setting
HASURA_GRAPHQL_ADMIN_SECRET: [PanelPassword]
Change this to your desired postgress password
POSTGRES_PASSWORD: admin
Update this base on your postgres db password
HASURA_GRAPHQL_METADATA_DATABASE_URL: postgres://postgres:admin@postgres:5432/postgres
Use this command to run compose create the docker image :
docker compose up -d
Refference how to install docker:
Docker Engine (For ubuntu servers)
#If you are using Azure or VPS or VM provider make sure you allow port 5432 in networking so you can access postgres db in localmachine