connecting to postgres issue
# support-questions
д
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
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.
д
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
you need to create a user in postgresql which you can give to supertokens
д
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: