worklenz icon indicating copy to clipboard operation
worklenz copied to clipboard

Docker setup: database ports not set and angular env are deprecated.

Open svandeneertwegh opened this issue 7 months ago • 4 comments

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?

svandeneertwegh avatar May 09 '25 13:05 svandeneertwegh

I got still from backend container: Failed to prune sessions: connect ECONNREFUSED 127.0.0.1:5432.

Image

svandeneertwegh avatar May 10 '25 09:05 svandeneertwegh

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

kithmina1999 avatar May 14 '25 03:05 kithmina1999

Getting this same error.

When I try to register, i get:

Image

StreamlinedStartup avatar Jul 13 '25 17:07 StreamlinedStartup

I'm getting the same error.

yonas avatar Aug 13 '25 21:08 yonas