Tip #1: Allowing access to the host from inside docker compose

Add the following snippet to the service in docker compose

services:
  your-app:
    image: your-image
    extra_hosts: # Add this line
      - "host.docker.internal:host-gateway" # Add This line