MagmaStorm
09/14/2020, 6:16 PMprisma-deploy
where it is taking too much time to deploy changes
. Can anyone please help me out ?Ryan
09/15/2020, 7:33 AMMagmaStorm
09/15/2020, 11:09 AMRyan
09/15/2020, 11:14 AMprisma deploy
locally and it’s taking 200 seconds?MagmaStorm
09/16/2020, 6:50 PMMagmaStorm
09/16/2020, 6:50 PMMagmaStorm
09/16/2020, 6:56 PMdefault
to stage default
to server local
45.6s
Changes:
User (Type)
~ Updated field email
. It became unique.
Applying changes 150.2s
Your Prisma endpoint is live:
HTTP: http://localhost:4466
WS: ws://localhost:4466
You can view & edit your data here:
Prisma Admin: http://localhost:4466/_admin
Here Is my Docker-compose.yml
version: '3'
services:
1. prisma:
2. image: prismagraphql/prisma:1.34
3. restart: always
4. ports:
5. - "4466:4466"
6. environment:
7. PRISMA_CONFIG: |
8. port: 4466
9. # uncomment the next line and provide the env var PRISMA_MANAGEMENT_API_SECRET=my-secret to activate cluster security
10. # managementApiSecret: my-secret
11. databases:
12. default:
13. connector: postgres
14. host: xxx.eu-west-1.compute.amazonaws.com
15. database: xxx
16. schema: public
17. user: xxx
18. password: xxx
19. ssl: true
20. rawAccess: true
21. port: '5432'
22. migrations: trueRyan
09/17/2020, 7:42 AMMagmaStorm
09/18/2020, 11:58 AMRyan
09/18/2020, 12:05 PMMagmaStorm
09/18/2020, 12:14 PMMagmaStorm
09/19/2020, 5:48 PMMagmaStorm
09/19/2020, 6:12 PMdefault
to stage default
to server local
27.2s
Changes:
User (Type)
+ Created type User
+ Created field id
of type ID!
+ Created field name
of type String!
+ Created field email
of type String!
+ Created field posts
of type [Post!]!
Post (Type)
+ Created type Post
+ Created field id
of type ID!
+ Created field title
of type String!
+ Created field body
of type String!
+ Created field published
of type Boolean!
+ Created field author
of type User!
PostToUser (Relation)
+ Created an inline relation between Post
and User
in the column author
of table Post
Applying changes 216.4s
Your Prisma endpoint is live:
HTTP: http://localhost:4466
WS: ws://localhost:4466
You can view & edit your data here:
Prisma Admin: http://localhost:4466/_admin
---
This is the latest I got after changing the location of the server.