Skip to content

Add DB environment variables to appwrite-worker-mails #8002

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

mbackonja
Copy link
Contributor

@mbackonja mbackonja commented Apr 22, 2024

What does this PR do?

I found a similar issue and PR like this for such an error but on webhooks worker container...
webhooks container issue: #7844
PR for that issue: #7848

The same error is happening on mails worker

Fixes: #8001

Test Plan

After installing the version from my PR, I can observe in docker-compose.yml in appwrite directory that service named appwrite-worker-mails now contains

      - _APP_DB_HOST
      - _APP_DB_PORT
      - _APP_DB_SCHEMA
      - _APP_DB_USER
      - _APP_DB_PASS

Also after sending the invite, I got no errors while watching logs of appwrite-worker-mails container

Related PRs and Issues

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

@stnguyen90 stnguyen90 changed the title fix(appwrite-worker-mails): Added DB environment variables to appwrite-worker-mails #8001 Added DB environment variables to appwrite-worker-mails Apr 22, 2024
@stnguyen90 stnguyen90 linked an issue Apr 22, 2024 that may be closed by this pull request
2 tasks
@stnguyen90 stnguyen90 self-requested a review April 22, 2024 21:22
@stnguyen90 stnguyen90 merged commit 281b3f3 into appwrite:1.5.x Apr 22, 2024
21 checks passed
@stnguyen90 stnguyen90 changed the title Added DB environment variables to appwrite-worker-mails Add DB environment variables to appwrite-worker-mails Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Bug Report: Failed to create connection in appwrite-worker-mails container
2 participants