Could not resolve project with id: default$default even with schema property on docker-composer.yml


#1

I am trying to use prisma with a existing db. it has several tables created on public schema and I want use this schema to prisma, but when I startup the docker-compose up -d and go to see the logs it is trying to connect on schema default$default and throwing the error

ProjectHelper: Could not resolve project with id: default$default

My docker-composer.yml has the schema property defined to public like so:

version: “3”
services:
prisma:
image: prismagraphql/prisma:1.34
restart: always
ports:
- “4466:4466”
environment:
PRISMA_CONFIG: |
port: 4466
databases:
default:
connector: postgres
host: host.docker.internal
database: dbname_here
schema: public
user: dbuser_name_here
password: ‘password_here’
ssl: false
rawAccess: true
port: ‘5432’
migrations: false