Hello 🙂 Im trying to self host supertokens-core w...
# support-questions-legacy
f
Hello 🙂 Im trying to self host supertokens-core with google cloud run but the database still in memory even with external connection credentials given. Can anybody help me?
r
Hey @fdelima.
How are you passing in the config?
f
Hi @rp_st I do like the documentation says: docker run \ -p 3567:3567 \ -e POSTGRESQL_USER="username" \ -e POSTGRESQL_PASSWORD="password" \ -e POSTGRESQL_HOST="host" \ -e POSTGRESQL_PORT="5432" \ -e POSTGRESQL_DATABASE_NAME="supertokens" \ -d registry.supertokens.io/supertokens/supertokens-postgresql
then i replace with my db credentials of course
is that right?
r
yea. This is right
are the tables being created in your db?
f
No, they are not
I tried to update the config.yml inside /usr/lib/supertokens with the database credentials, then I restart the container but I get the following error: io.supertokens.storage.postgresql.HikariLoggingAppender.doAppend(HikariLoggingAppender.java:132) | SuperTokens - Exception during pool initialization This database is fine, all other APIs are connecting to them
do you have any ideia?
r
not particularly. This is more a networking / db issue as opposed to a supertokens issue.
42 Views