queue short added with mariadb network #940
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Frappe docker version is not able to send mails in background
Email Queues are stuck due to Queue short unable to connect to 'mariadb-database' network
Please refer to the below discuss topic Frappe Docker V13: Email Queue stuck
The project compose file is generated using the official frappe docker single server setup
The compose.multi-bench.yaml is missing mariadb-network for queue-short, due to which queue-short is not able to connect to the database and results in the following error
pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'mariadb-database' ([Errno -2] Name or service not known)")
Fix,
Add the mariadb-network to the networks for queue-short in compose.multi-bench.yaml so that queue-short can have access to mariadb.