https://supertokens.com/ logo
connecting to postgresql
w

wishabhilash

04/13/2023, 10:09 AM
Hi. Am trying to run
supertokens-postgres
docker container in my local providing it a postgres connection string of
neon db
. It is failing with the following error
What caused the crash: Driver org.postgresql.Driver claims to not accept jdbcUrl, jdbc:postgres://ep-fragrant-firefly-243626.us-west-2.aws.neon.tech/neondb?allowPublicKeyRetrieval=true
. Kindly help. 🙏
r

rp

04/13/2023, 10:13 AM
hey @wishabhilash Is neon db fully compatible with postgresql?
w

wishabhilash

04/13/2023, 10:28 AM
They do claim to be serverless postgress. Check this https://neon.tech/
r

rp

04/13/2023, 10:30 AM
hmmm
whats the config that you have passed?
w

wishabhilash

04/13/2023, 10:36 AM
docker run -p 3567:3567 -d \
  -e POSTGRESQL_CONNECTION_URI=postgres://username:password@ep-fragrant-firefly-243626.us-west-2.aws.neon.tech/neondb \
  registry.supertokens.io/supertokens/supertokens-postgresql:4.6
r

rp

04/13/2023, 10:36 AM
change
postgres://
to
postgresql://
w

wishabhilash

04/13/2023, 10:48 AM
That worked. Thanks 👍