-
I have connection problem with database, if I run:
Frepple try to connect to 127.0.0.1 and after 8-9 seconds the container disapper. I have tested on Linux (ubuntu 24.04) and Windows 11 as well. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The postgres host 127.0.0.1 is resolved as the docker container itself, and there is no postgres database in the frepple container. |
Beta Was this translation helpful? Give feedback.
The postgres host 127.0.0.1 is resolved as the docker container itself, and there is no postgres database in the frepple container.
Try using "host.docker.internal" as POSTGRES_HOST. This will be resolved as the host machine that is running docker.