Skip to content

docker cypht/cypht:2.4.2 not connect with POSTGRESQL #1716

@emicba126

Description

@emicba126

Hi!
When start container, show in logs:
Attempting to connect to database ... (1/10)
...
Unable to connect to database

Enviroment Database config:
DB_CONNECTION_TYPE=host
DB_DRIVER=pgsql
DB_HOST=cypht_postgres
DB_NAME=cypht
DB_USER=admin
DB_PASS=pass
DB_PORT=5432

The postgres container/server work correctly. Connections accept other containers and external connection! and database "cypht" was created correctly.
I've been checking the source code and other issues, but I couldn't detect the problem. The "logs" do not provide any information with "DEBUG_LOG=true".
Does anyone have the same problem? From what I read, the project has support for Postgres.
Thanks

Metadata

Metadata

Assignees

Labels

bugsomething is wrong in Cypht

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions