https://supertokens.com/ logo
connecting to postgres issue
д

ДенисМ

02/23/2023, 6:44 AM
Hello everybody! Please help me figure it out. I have completed: Running SuperTokens and PostgreSQL with docker, with docker-compose (https://supertokens.com/blog/connect-supertokens-to-database#running-supertokens-and-postgresql-with-docker-with-docker-compose) And I get an error. What does this mean and what needs to be done to fix it?
r

rp

02/23/2023, 6:52 AM
hey @ДенисМ This seems to be an issue with how you have setup the user in postgres and what is configured in the docker compose env var.
д

ДенисМ

02/23/2023, 6:59 AM
When I failed to do this in my own project, I copied the entire example from the article and pasted it into docker-compose on the server. Can you describe in more detail where you need to configure what or which article to read? In the example, the variables are hard-coded
r

rp

02/23/2023, 7:12 AM
you need to create a user in postgresql which you can give to supertokens
д

ДенисМ

02/23/2023, 7:20 AM
Thank you very much, I'll try to figure it out now
Hello everyone I have been trying to find a solution for many days, but without success. Please help me figure this out. I am developing an application with docker-compose, nest.js, next.js, super tokens, postgresql, NGINX. I run containers directly on the server:
When trying to register via Google, there is an error in the logs in the backend container: