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

🐛 Bug: Access DB hosted on localhost #5720

Closed
2 tasks done
zachary-russell opened this issue Jun 16, 2023 · 6 comments
Closed
2 tasks done

🐛 Bug: Access DB hosted on localhost #5720

zachary-russell opened this issue Jun 16, 2023 · 6 comments
Assignees
Labels
bug Something isn't working product / databases Fixes and upgrades for the Appwrite Database.

Comments

@zachary-russell
Copy link

💭 Description

I have Appwrite loading in docker-compose. I have a Mariadb server running on the host machine but I can't seem to get it to work. What do I need to modify to be able to access this?

I changed all of the relevant environment variables, created a new user, and confirmed that I can access them locally. Is there something I need to change in the docker-compose.yml file?

I changed all the variables listed here except for _APP_DB_SCHEMA.

I'd appreciate any guidance here.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@Haimantika
Copy link
Contributor

Thanks for bringing this up @zachary-russell. @gewenyu99 can you take a look?

@joeyouss
Copy link

but I can't seem to get it to work

What is the error/any logs?

I am attaching some links here so meanwhile when you see this msg, you can also check them out:

Please let me know the errors so we can help debug.

@joeyouss joeyouss self-assigned this Jun 19, 2023
@joeyouss joeyouss added the bug Something isn't working label Jun 19, 2023
@joeyouss joeyouss changed the title 📚 Documentation: Access DB hosted on localhost 🐛 Bug: Access DB hosted on localhost Jun 19, 2023
@joeyouss joeyouss added the product / databases Fixes and upgrades for the Appwrite Database. label Jun 19, 2023
@joeyouss
Copy link

Hi @zachary-russell , was this resolved? if not, please let me know so I can help.

@gewenyu99
Copy link
Contributor

@zachary-russell I think there's changes you need to make to traefik and network settings you find in the docker-compose file so your workers have access to external network.

By default, they probably can't access the network of your hosted MariaDB for obvious security reasons. Not a Docker expert though, I'd have to play around with it.

@stnguyen90
Copy link
Contributor

@zachary-russell, are you able to connect now? FYI, we'll need to close this soon due to inactivity.

@zachary-russell
Copy link
Author

I ended up giving up on this and using a different service. I appreciate you reaching out though. I will close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / databases Fixes and upgrades for the Appwrite Database.
Projects
None yet
Development

No branches or pull requests

5 participants