האם אפשר להתקין את Discourse עם Redis ו-Postgres משלי?

סיכום מבוסס בינה מלאכותית

ann_eav, a new user, asked whether it’s possible to install Discourse using pre-existing PostgreSQL and Redis instances instead of letting Docker create them. rorycb pointed to a guide on migrating to separate web and data containers How to migrate quickly to separate web and data containers, while Falco recommended the official guide for using an external PostgreSQL server Running Discourse with a separate PostgreSQL server, noting Redis can be similarly configured. ann_eav later confirmed success, combining both resources and adding a third guide on Kubernetes setup How to set up an internal team forum in half a day using Discourse to configure parameters for a clean, externalized installation. The user expressed gratitude and shared the combined resources to help future users facing similar needs.

Hello Everyone :blush:

This is my first post, I hope this topic was not covered yet. If so, I apologize. I have been searching but I have not found a recent topic about this.

I would like to install Discourse but with an already created Postgres and an already created Redis. I have been following the documentation to install Discourse with Docker install-cloud.md and it works great but I don’t know if there is a possibility to perform this installation but without creating a Postgres and a Redis. I would prefer to connect to my own resources.

Can you guide me/help me a bit with this? Thanks in advance :sparkles: :sparkling_heart:

This is likely what you’re looking for Migrate quickly to separate web and data containers

Thanks for the quick reply!!

For PostgreSQL you should follow Running Discourse with a separate PostgreSQL server. Redis has the same equivalent configuration.

Thanks for the resource, I will dig into it

Thanks to everyone I have managed to perform what I needed. The solution is a combination of the two articles provided:
@rorycb with How to migrate quickly to separate web and data containers → which helped me to understand how to manage discourse with separated containers for each structure (but it does not have the proper information for a clean installation)
@Falco with Running Discourse with a separate PostgreSQL server → which helped me to understand how to generate images and separate with the previous information to create a fresh installation

And this third link How to set up an internal team forum in half a day using Discourse → which helped me to know how to configure some params to generate a proper setup for a Kubernetes cluster.

I post all of this extra info just in case that in the future someone needs this. Thanks again to @rorycb and @Falco :sparkling_heart: