Is it possible to deploy Prisma docker files to No...
# prisma-whats-new
d
Is it possible to deploy Prisma docker files to Now? I see you have a Digital Ocean tutorial for docker and Now for server. It would be great to just deploy to a single host...
prisma 1
Took me a minute to find it, haha
Warning: I have not tested this. That’s also on the docs for
graphcool-framework
. You should be able to deploy with Now but it may not work
d
Thanks. So
$>Now
deploys the docker container also?
i
Now can. How Prisma and Now work together, I don’t know
It refers to deploying to a public Prisma cluster.
But I think that is completely open and unsecure.
i
How so?
It’s over HTTPS
Yeah, so, you can definitely deploy over now
Just tested it and it works fine
d
Docker as well?
Awesome
i
I believe so
I’m not sure how to verify it’s running off of Docker
This is my first time using it
Honestly, I would use Up before I use Now, though. Tj has some great stuff and Up is one of my OSS projects of his
d
I'll check it out. I've not seen it before.
i
I’m biased though
Go is my favorite language 😄
So if you deploy through Now, it looks like you will have to deploy the server and the client separately.
d
Nice. But no docker.
i
I didn’t eject. Let me try that out real quick 🙂
d
Up looks really nice!
h
Now is bad idead for prisma, because if you want to deploy again you need export data and then import data again
i
+ the URI changes, making it impossible to manage
h
deploy your container to now again
no? you can have alias?
i
Ahh
I’ve never used Now so… 💁
d
That makes sense.
Assuming Mysql container goes unchanged - updating prisma shouldn't be so much of an issue.
The data structure is suposed to be stable from 1.0, no?
i
Prisma is stable, yes
I’m sure they will have a few patch releases in the next couple of weeks though
Keep in mind, the GC team is rapidly developing an entire GraphQL suite. Tools, a framework, database layer… They may not be as stable as Google but they are pretty fast at responding to issues 😄
And releasing cool, new features! fast parrot
d
To be honest I'd rather use GC Cloud.
But I can't wait another month/2 for that to come online.
i
I’ll try to figure out some good deployment strategies and update the docs accordingly
Up is a really solid product. If you’re concerned about Now, you should be fine with Up. It just deploys to GCP or AWS
d
I want to pay € to GC for all their hard work.
i
That’s a great reason too 😄
d
But I am invested in this GraphQL Server model, so cannot use their cloud yet.