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.
하지만 launcher 빌드 프로세스가 자동화되어 있어 config-template.php 파일을 어떻게 편집하고 그 업데이트를 config.php에 저장해야 하는지 이제 막막합니다.
왜 이러한 설정들을 php 파일 편집이 아닌 관리자 섹션의 설정 인터페이스 일부로 만들지 않는 걸까요? 만약 그것이 비현실적이라면, 저와 같은 사람은 config.php 파일을 어떻게 수정해야 하는지 궁금합니다. 도커 컨테이너 환경에 들어가서 config.php 파일을 수동으로 만들어야 하는 건가요? 그렇게 하면 업데이트와 도커 재빌드 후에도 그 파일이 유지되는 건가요?