Open nikolasburk opened 5 years ago
Narrowed this down to the migrations
and rawAccess
flags in the database options in docker-compose.yml
. The container crashes, and fails to serve queries. This should be fixed with the next version of the Docker image. Keeping this open so I can verify once that happens!
In the mean time, removing those flags should fix this.
Same issue.
Fixed - in case anyone else runs into this:
Thank you very much - worked for me too
Worked for me, thank you so much.
Setting rawAccess
to false in the PRISMA_CONFIG environment variable in the docker-compose file worked for me. Using prismagraphql/prisma:1.34
Hey unfortunately we're building a project that needs rawAccess: true
in the docker-compose.yml file, would love to see a new image pushed so we can use admin!
As @AmazingTurtle states, disabling rawAccess
works, but what is rawAccess
anyway?
@anton6 is there an advantage over using this via using knex.js
for using sql then?
Confirmed the rawAccess solution works for me on prismagraphql/prisma:1.34. I tried it without migrations, but I put it back and Prisma Admin is still available. I want migrations but don't need rawAccess yet, so I'll leave it out until it is fixed.
Any way to get admin with migrations and rawAccess yet?
This is my Docker Compose file:
This is my datamodel:
When I'm trying to access
http://localhost:4466/_admin
, I'm stuck in a loading state:Clearing
localStorage
and hard refreshing the page both didn't work. I don't see any console errors and the network requests in the devtools also seem ok... 🤷♀️