Prisma Deploy Docker error “Could not connect to server”

后端 未结 3 958
[愿得一人]
[愿得一人] 2021-02-06 11:53

This is steps I have done

prisma init

I set postgresql for database in my local(not exist).

It created 3 files, datamodel.graphql, dock

3条回答
  •  死守一世寂寞
    2021-02-06 12:38

    I found this solution to the same problem i was facing

    docker-machine ip default
    

    Use this address and replace the "localhost" with the IP with the above command to look something like this in prisma.yml file

    endpoint: http://1xx.1xx.xx.xxx:4466
    

    The answer is referred from this Github Link

提交回复
热议问题