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.
to the app.yml file and rebuild.. but it is now unclear to me how to edit the config-template.php file and save those updates to config.php when it’s all automated by the launcher build process.
why not make these settings part of a settings interface under the admin section rather than a php file edit? if that is impractical, how would one like myself modify the config.php file.. do i have to enter the docker container environment and manually create the config.php file in there? does that survive updates and docker rebuilds?