Skip to content

No DB connection from docker #2988

@matrixbot

Description

@matrixbot

This issue was originally created by @fierg at matrix-org/dendrite#2988.

Background information

  • Dendrite version or git SHA: Dendrite release 0.11.1 (image)

  • SQLite3 or Postgres?: Postgres

  • Running in Docker?: Docker

  • go version: go1.19.6 linux/amd64

  • Client used (if applicable):

Description

  • What is the problem:
    Cannot connect to the database in docker
  • Who is affected: Just Me
  • How is this bug manifesting: (monolith_1 | time="2023-02-23T08:08:08.295379567Z" level=panic msg="Failed to set up global database connections" error="failed to find maximum connections: dial tcp 127.0.0.1:5432: connect: connection refused")
  • When did this first appear: right after the first installation

Steps to reproduce

  • pull repo
  • generate passwords, fill dedrite.yaml
  • start docker-compose

The database is up and running, i can access it via pgAdmin, but the dendrite container cannot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-OtherQuestions, user support, anything else.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions