title: Cannot connect to postgreSQL docker container via postico
body: <p>I'm trying to use Postico to connect to a docker postgreSQL container on my local machine. </p>
  
  <p>I've tried connecting to 0.0.0.0, localhost, and 127.0.0.1. Each give me the following error:</p>
  
  <pre><code>could not connect to server: Connection refused
      Is the server running on host "localhost" (::1) and accepting
      TCP/IP connections on port 5432?
  could not connect to server: Connection refused
      Is the server running on host "localhost" (127.0.0.1) and accepting
      TCP/IP connections on port 5432?
  </code></pre>
  
  <p>0.0.0.0 gives me a similar, but smaller error:</p>
  
  <pre><code>could not connect to server: Connection refused
      Is the server running on host "0.0.0.0" and accepting
      TCP/IP connections on port 5432?
  </code></pre>
  
  <p>Here is my docker-compose file:</p>
  
  <pre><code>version: '3'
  services:
    prisma:
      image: prismagraphql/prisma:1.23
      restart: always
      ports:
      - "4466:4466"
      environment:
        PRISMA_CONFIG: |
          port: 4466
          databases:
            default:
              connector: postgres
              host: postgres
              port: 5432
              user: prisma
              password: prisma
              migrations: true
    postgres:
      image: postgres:10.5
      restart: always
      environment:
        POSTGRES_USER: prisma
        POSTGRES_PASSWORD: prisma
      volumes:
        - postgres:/var/lib/postgresql/data
  volumes:
    postgres:
  </code></pre>
  
  <p><strong>Solution found thanks to Egor!</strong> I forgot to specify <code>ports: - "5432:5432"</code> inside my docker-compose file. Rookie mistake ;)</p>