Files
computer-playbook/roles/web-app-discourse
kevinveenbirkenbachandClaude Fable 5 9c84ae2240 feat(engine): shared-aware container field + SPOT container names via services.<x>.name
Container-name vars derived their value inconsistently (hard-coded literals, entity_name composites) instead of the role-owned SPOT. Add a lint requiring every *_CONTAINER var to resolve through lookup('config', app, 'services.<x>.name'), the bare entity_name form, or the engine lookup; give each multi-container worker a name: in meta/services.yml (with realistic resource limits) and switch its var to the lookup. Extend the engine lookup with a shared-aware 'container' field (central provider container when shared, embedded <entity>-<engine> otherwise) and gate zammad's embedded memcached sidecar on not-shared so its container_name never collides with the central memcached.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 00:00:49 +02:00
..
…

Discourse

Description

Discourse is a popular open-source discussion platform designed to foster community engagement through modern, user-friendly features and robust moderation tools. It creates a dynamic space for discussions, offering seamless notifications and customizable interfaces to keep your community active and engaged.

Overview

This role deploys Discourse using Docker, automating tasks such as container orchestration, service configuration, and routine administrative operations. It integrates key components like Redis and PostgreSQL, sets up domain routing with NGINX, and ensures streamlined updates for a reliable forum experience.

Features

  • Modern Forum Experience: Engage in interactive, real-time discussions with a responsive, mobile-friendly design.
  • Robust Moderation Tools: Benefit from comprehensive tools for content management and community moderation.
  • Customizable Layouts & Themes: Tailor your forum’s look and functionality to suit your community’s unique style.
  • Scalable Architecture: Utilize a Docker-based deployment that adapts easily to increasing traffic and community size.
  • Extensive Plugin Support: Enhance your forum with a wide range of plugins and integrations for additional functionality.

Addons

Addons are declared in meta/addons/ and read at deploy time via lookup('config', application_id, 'addons').

Addon Mechanism Default state Bridges
docker_manager plugin enabled none
discourse-activity-pub plugin enabled none
discourse-akismet plugin enabled none
discourse-ldap-auth plugin follows services.ldap.enabled (currently off) ldap

The ldap service block in meta/services.yml is intentionally pinned to literal false (see TODO.md): the jonmbake/discourse-ldap-auth plugin breaks Discourse bootstrap on recent versions. discourse-ldap-auth therefore resolves to disabled until that block is flipped back to the dynamic group-membership form.

Further Resources

Credits

Implemented by Kevin Veen-Birkenbach. Part of the Infinito.Nexus Project and maintained by Kevin Veen-Birkenbach. Licensed under the Infinito.Nexus Community License (Non-Commercial).