Skip to content
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

fix(dockercompose): Fix db manager connection #8377

Merged
merged 3 commits into from
Oct 18, 2024

Conversation

aarushik93
Copy link
Contributor

Background

DB manager was added 6f07d24#diff-9f50c422480771c499000baff849597248109048f6277e0381fe973e494a30eb

and the db manager runs on 0.0.0.0 and we were trying to connect on localhost

Changes 🏗️

Added DATABASEMANAGER_HOST=0.0.0.0

Testing 🔍

Note

Only for the new autogpt platform, currently in autogpt_platform/

  • Create from scratch and execute an agent with at least 3 blocks
  • Import an agent from file upload, and confirm it executes correctly
  • Upload agent to marketplace
  • Import an agent from marketplace and confirm it executes correctly
  • Edit an agent from monitor, and confirm it executes correctly

@aarushik93 aarushik93 requested a review from a team as a code owner October 18, 2024 12:40
@aarushik93 aarushik93 requested review from ntindle and majdyz and removed request for a team October 18, 2024 12:40
Copy link

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Configuration Change
Verify that the new DATABASEMANAGER_HOST environment variable is correctly set to 0.0.0.0 and that this change resolves the connection issue with the DB manager.

@github-actions github-actions bot added platform/backend AutoGPT Platform - Back end size/xs and removed Review effort [1-5]: 1 labels Oct 18, 2024
@github-actions github-actions bot added size/s and removed size/xs labels Oct 18, 2024
@aarushik93 aarushik93 enabled auto-merge (squash) October 18, 2024 12:45
@aarushik93 aarushik93 merged commit 6f3828f into dev Oct 18, 2024
7 checks passed
@aarushik93 aarushik93 deleted the aarushikansal/fix-docker-compose branch October 18, 2024 12:49
aarushik93 added a commit that referenced this pull request Oct 18, 2024
* add db host

* remove unused variable
@Pwuts
Copy link
Member

Pwuts commented Oct 18, 2024

nit: fix(backend/docker)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/backend AutoGPT Platform - Back end size/s
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants