תודה על תשובתך, אני יודע זאת. אבל לא הצלחתי להריץ בקלות את תמונת discourse/base עם Docker Compose. תמונת discourse/discourse החדשה הזו הופכת את ההגדרה להרבה יותר פשוטה ועובדת מצוין, אבל אני רוצה להבין את מטרתה והאם אני יכול להשתמש בה בייצור.
כפי שתואר, הדרך הנתמכת לאירוח עצמי היא לעקוב אחר ההתקנה הסטנדרטית. אם אינך רוצה לעשות זאת, אז אתה די לבד. אם אתה רוצה להפעיל עם docker-compose, מה שאני ממליץ הוא להשתמש ב-launcher כדי לבנות את התמונה שלך, לדחוף אותה למאגר משלך ואז להשתמש ב-‘./launcher start-cmd web_only’ כדי לקבל את משתני הסביבה הדרושים וכו’ כדי להפעיל אותה. ועדיין תצטרך לעשות משהו כדי לראות שהמסד נתונים עבר הגירה, הנכסים קומפלו מראש, וכן הלאה.
אתה יכול גם להמציא דרך לגרום ל-github לבנות תמונות עבורך ושיעברו הגירה וכן הלאה בעת ההפעלה (כפי שיום אחד יסופק על ידי CDCK, כך נראה). עשיתי זאת עבור לקוחות בעבר. (אשמח לעזור אם יש לך תקציב.)
אם אתה אוהב לחיות על הקצה, אתה כנראה די בטוח להשתמש בגרסת ה-“experimental” עם הסייג שתצטרך אתר staging שבו אתה בודק כל פריסה חדשה לפני שתדחוף אותה לייצור ותהיה מוכן או שתצטרך לחכות זמן מה ו/או לעשות משהו הדורש ידע מעמיק של discourse כדי להתקדם. המקרה הגרוע ביותר (כנראה) הוא שתצטרך להיות מוכן לבצע גיבוי ולשחזר להתקנה סטנדרטית עד שהדבר הניסיוני יהיה מוכן לשימוש רגיל.
Yeah, it’s becoming an open secret of what’s in the oven
You can get a technical preview of what’s upcoming, but like David said we can’t support it officially yet. There are tons of docs to plan, edge cases to test, etc… so we can’t recommend it for production until we smooth those things out.
@david / @featheredtoast, you guys and the rest of the team have done a great job here.
I just switched to discourse/discourse from bitnami/discourse for automated testing and it’s working great. Obviously my use case is perfect - spin up a new forum, run tests, delete.
So, just wanted to give a big thanks. I’m sure a lot of others will benefit from this too especially once it becomes stable / official / supported.
Similar situation, was looking for a quick way to spin up Discourse in a Docker Compose setup to make it easier for developers to build an SSO integration. This appears to work a treat (setup below for those who are interested):
Looking forward to hearing about future plans or timelines, would love to be able to run this in something like Digital Ocean App Platform (something that clients could manage with less technical know-how).
Ah thanks for sharing, @JackNZ . I didn’t even notice the discourse/postgres image I’ll have to fix that. Nevertheless, I’ll share where I’m at too. Maybe more interesting is the start.sh script here that, while in need of some cleanup, will create an admin user, API key, and disable rate limiters.