Docker setup: database ports not set and angular env are deprecated.
When i use the docker setup.
The db setup (postgres) has no ports set. (5432:..)
Also with the environments (.env) the Angular envs are deprecated i think.
Third one: cookie_secret and session_secret. How long must they be?
I got still from backend container: Failed to prune sessions: connect ECONNREFUSED 127.0.0.1:5432.
db services doesn't need port because it only need to communicate internally we use service name to do it.
I got still from backend container: Failed to prune sessions: connect ECONNREFUSED 127.0.0.1:5432.
check the logs docker compose logs is your db container working? try removing db volume and reinitialize db
Getting this same error.
When I try to register, i get:
I'm getting the same error.