Hi. Am trying to run `supertokens-postgres` docker...
# support-questions-legacy
w
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
hey @wishabhilash Is neon db fully compatible with postgresql?
w
They do claim to be serverless postgress. Check this https://neon.tech/
r
hmmm
whats the config that you have passed?
w
Copy code
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
change
postgres://
to
postgresql://
w
That worked. Thanks 👍
125 Views