[solved] The server does not support SSL connections
I am running Drizzle with Postgres in a devcontainer using Docker WSL 2.
In my db file:
In my config:
Despite this, I keep getting the SSL issue.
I am starting my container like this:
Where the commands correspond to
I am calling generate and migrate to assure that if someone would run this on their system, they've would have the correct tables setup.
UPDATE:
So I removed
UPDATE 2:
I noticed that my generate command was wrong
I was using
In my db file:
In my config:
Despite this, I keep getting the SSL issue.
I am starting my container like this:
CMD ["sh", "-c", "npm run generate && npm run migrate && npm run dev"]Where the commands correspond to
I am calling generate and migrate to assure that if someone would run this on their system, they've would have the correct tables setup.
UPDATE:
So I removed
ssl: { rejectUnauthorized: false } and it worked, however, upon connecting to the dbdocker exec -it postgres_db psql -U postgres -d postgres, it reveals that I don't have any relationsUPDATE 2:
I noticed that my generate command was wrong
I was using
drizzle-kit up, must have mixed them up somehow