Skip to content

name resolution broken on commit 2d1734b  #105

@bmm-alc

Description

@bmm-alc

The fact the compose installation uses the default bridge network makes the name resolution broken as expected (if I understand correctly) by https://docs.docker.com/engine/network/drivers/bridge/#differences-between-user-defined-bridges-and-the-default-bridge.

wacore-1  | D 2024-12-05 8:43:19.183 UTC 28 datastore.cpp:150] Initiated DB connection "configStore"  of engine type "MYSQL" req_id=none
wacore-1  | D 2024-12-05 8:43:19.184 UTC 28 datastore.cpp:824] Reconnecting to database "configStore" req_id=none
wacore-1  | W 2024-12-05 8:43:19.188 UTC 28 wasqldatabase.cpp:139] DB query   on  "configStore" : "Unknown MySQL server host 'db' (-2) QMYSQL: Unable to connect"  has error:  QSqlError("2005", "QMYSQL: Unable to connect", "Unknown MySQL server host 'db' (-2)")  from function:  get db req_id=none
wacore-1  | W 2024-12-05 8:43:19.193 UTC 28 wasqldatabase.cpp:139] DB query   on  "configStore" : "Unknown MySQL server host 'db' (-2) QMYSQL: Unable to connect"  has error:  QSqlError("2005", "QMYSQL: Unable to connect", "Unknown MySQL server host 'db' (-2)")  from function:  open config db req_id=none
wacore-1  | C 2024-12-05 8:43:19.194 UTC 28 main.cpp:55] Unable to initialize config store req_id=none
wacore-1  | wa-service: Unable to initialize ConfigStore
...

removing network_mode: bridge in the file docker-compose.yml fixes the issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions