title: Prisma Deploy Docker error "Could not connect to server"
body: <p>This is steps I have done</p>
  
  <pre><code>prisma init
  </code></pre>
  
  <p>I set postgresql for database in my local(not exist).</p>
  
  <p>It created 3 files, datamodel.graphql, docker-compose.yml, prisma.yml</p>
  
  <pre><code>docker-compose up -d
  </code></pre>
  
  <p>I confirmed it running successfully 
  <a href="https://i.stack.imgur.com/NajDB.png" rel="noreferrer"><img src="https://i.stack.imgur.com/NajDB.png" alt="enter image description here"></a>
  But if I call <code>prisma deploy</code>, it shows me error</p>
  
  <pre><code>Could not connect to server at http://localhost:4466. Please check if your server is running.
  </code></pre>
  
  <p>All I have done is standard operation described in manual and there is no customization in
  <a href="https://www.prisma.io/docs/tutorials/deploy-prisma-servers/local-(docker)-meemaesh3k" rel="noreferrer">https://www.prisma.io/docs/tutorials/deploy-prisma-servers/local-(docker)-meemaesh3k</a></p>
  
  <p>And this is docker-compose.yml</p>
  
  <pre><code>version: '3'
  services:
    prisma:
      image: prismagraphql/prisma:1.11
      restart: always
      ports:
      - "4466:4466"
      environment:
        PRISMA_CONFIG: |
          port: 4466
          # uncomment the next line and provide the env var PRISMA_MANAGEMENT_API_SECRET=my-secret to activate cluster security
          # managementApiSecret: my-secret
          databases:
            default:
              connector: postgres
              host: localhost
              port: '5432'
              database: databasename
              schema: public
              user: postgres
              password: root
              migrations: true
  </code></pre>
  
  <p>What am I missing?</p>