The discussion revolves around setting up a webhook to connect Discourse to Discord using a PHP script called Discourse to Discord Webhook. DanielMarquard introduces the script, provides installation instructions, and clarifies that users should rename config-template.php to config.php for configuration DanielMarquard. Kyle_boyce and amalg seek clarification on locating and modifying the config.php file, especially in a Dockerized Discourse environment. Thwright reports a 400 error due to an empty message when sending posts, with their configuration detailed in the post. The thread highlights the need for clearer documentation on configuration and deployment, particularly for users running Discourse via Docker.
This PHP script acts an intermediary between Discourse and Discord, receiving webhooks from Discourse and parsing them into an optimal format before relaying them to Discord.
Ja, also… bei mir auch? Ich betreibe einen diskursierten Discourse, und die app.yml-Datei enthält viele Zeilen zum Einholen von Git-Repositories, die vom Launcher gebaut werden. Also füge ich
zur app.yml-Datei hinzu und baue neu auf. Jetzt ist mir jedoch unklar, wie ich die config-template.php-Datei bearbeiten und diese Änderungen in config.php speichern soll, wenn alles durch den Launcher-Build-Prozess automatisiert ist.
Warum werden diese Einstellungen nicht Teil einer Schnittstelle unter dem Admin-Bereich statt einer PHP-Datei-Bearbeitung? Falls das unpraktisch ist, wie könnte jemand wie ich die config.php-Datei ändern? Muss ich in die Docker-Container-Umgebung eintreten und die config.php-Datei dort manuell erstellen? Übersteht das Updates und Docker-Neubauten?