-
Notifications
You must be signed in to change notification settings - Fork 448
Open
Description
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
Labels
No labels