התחבר למסד הנתונים ו-redis על מארח Docker באמצעות שכבות

I have a multisite running in a container, connecting to remote “databases” server, with postgres and redis running over there. Now I want to move both of those to the host dockerised discourse runs on and connect to them using unix sockets. Any configuration hints how to give dockerised discourse access to the sockets exposed on host filesystem?

התקן את הספריות שבהן נמצאים ה-סוקטות (לא את ה-סוקטות עצמן, כי זה גורם לבעיות לא נעימות) כמניפות קישור בתוך המכולה, ואז קבע את Discourse לתקשר עם אותם סוקטות.

לייק 1