Loading....
# orm-help
h
Loading....
d
Do you have any errors in the console?
Or do you have rawAccess enabled?
h
no errors in the console
What's rawAccess?
d
Can you share your docker-compose file?
and
prisma.yml
file?
h
I followed exactly the steps in the github page, you can easily replicate it if you want to.
there's nothing special about the steps that I do,
now I tried with MongoDb, it works, but Postgresql it doesn't. seems like a bug
d
okay! are you able to access anything else other than admin?
h
Copy code
endpoint: <http://localhost:4466>
datamodel: datamodel.prisma

generate:
  - generator: javascript-client
    output: ./generated/prisma-client/
Copy code
version: '3'
services:
  prisma:
    image: prismagraphql/prisma:1.33
    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: postgres
            user: prisma
            password: prisma
            rawAccess: true
            port: 5432
            migrations: true
  postgres:
    image: postgres
    restart: always
    # Uncomment the next two lines to connect to your your database from outside the Docker environment, e.g. using a database GUI like Postico
    # ports:
    # - "5432:5432"
    environment:
      POSTGRES_USER: prisma
      POSTGRES_PASSWORD: prisma
    volumes:
      - postgres:/var/lib/postgresql/data
volumes:
  postgres:
d
Try to open
<http://localhost:4466>
and see if that works!
Yes, you have
rawAccess: true
your docker-compose file. Please make it false and try run
docker-compose up -d
and try again!
This is a bug we are aware of and will fix soon!
@siddhant can give you more information!
h
it's very bad experience for first time user coming to the platform.
1
d
Thanks for the feedback, really appreciate it, we are working on fixing it 🙂
h
as I followed exactly the steps written on the homepage of the project.
👍 1
s
@Hoang This is a bug, and should be fixed with the next release (next Tuesday). In the mean time, if you remove the
rawAccess
from your
docker-compose
, and restart your container, you should be able to see your data.
👍 1
h
yes, thanks, I solved it, and now be able to see the data.
👍 2