From 9ce63e25b2667532ef942ef8d32c894e3028de3f Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 13 Dec 2023 11:15:10 +0100 Subject: [PATCH] Removed redundant information from README.md and deleted non-official discourse plugins --- roles/docker-discourse/README.md | 39 --------------------- roles/docker-discourse/templates/app.yml.j2 | 2 -- 2 files changed, 41 deletions(-) diff --git a/roles/docker-discourse/README.md b/roles/docker-discourse/README.md index eafdec1d..2cc0569e 100644 --- a/roles/docker-discourse/README.md +++ b/roles/docker-discourse/README.md @@ -2,45 +2,6 @@ This Ansible role sets up Discourse, a popular open-source discussion platform, using Docker containers. It is designed to automate the deployment and configuration process of Discourse, making it easier to maintain and update. -## Role Variables - -- `docker_compose_instance_directory`: Specifies the directory for the Docker Compose instance of Discourse. - -## Handlers - -- `recreate discourse`: Rebuilds the Discourse application using the launcher script. Triggered when configuration changes are detected. - -## Tasks - -- Includes tasks from `nginx-docker-proxy-domain.yml`. -- Creates the specified `docker_compose_instance_directory`. -- Checks out the repository at the specified directory. -- Pulls the Discourse Docker repository and updates it. -- Sets permissions for the `containers` directory. -- Copies configuration to `containers/app.yml`. - -## Template: app.yml.j2 - -- Configures the Discourse Docker container with necessary parameters such as database settings, environment variables, and volumes. -- Specifies SMTP settings for email functionality. - -## Dependencies - -- `nginx-docker-reverse-proxy`: This dependency is necessary for the reverse proxy setup for Discourse. - -## Usage - -To use this role, include it in your Ansible playbook and configure the necessary variables as per your requirements. Ensure that the dependencies are also resolved. - -## Discussion and Contributions - -For discussions, questions, and contributions related to this role, please refer to the corresponding discussion thread on [Discourse Meta](https://meta.discourse.org/). - -## Notes - -- This role is part of a larger playbook and is designed to work in conjunction with other roles. -- Ensure you have the necessary permissions and access to run Ansible scripts in your environment. - --- This README was generated with information provided in the Ansible role. For more detailed instructions and information, refer to the inline comments within the role files. Additional support and context for this role can be found in an [online chat discussion](https://chat.openai.com/share/fdbf9870-1f7e-491f-b4d2-357e6e8ad59c). diff --git a/roles/docker-discourse/templates/app.yml.j2 b/roles/docker-discourse/templates/app.yml.j2 index 3a4fa9e7..68fc6218 100644 --- a/roles/docker-discourse/templates/app.yml.j2 +++ b/roles/docker-discourse/templates/app.yml.j2 @@ -105,10 +105,8 @@ hooks: - git clone https://github.com/discourse/discourse-cakeday.git - git clone https://github.com/discourse/discourse-solved.git - git clone https://github.com/discourse/discourse-voting.git - - git clone https://github.com/gdpelican/retort.git - git clone https://github.com/discourse/discourse-oauth2-basic.git - git clone https://github.com/discourse/discourse-openid-connect.git - - git clone https://github.com/jonmbake/discourse-ldap-auth ## Any custom commands to run after building run: