From 5c6349321b25c9754010e5d4bb8afc0a7a5bd2c4 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Fri, 29 Aug 2025 00:12:35 +0200 Subject: [PATCH] Removed MyBB role, because it's deprecated and Discourse takes over --- group_vars/all/09_networks.yml | 4 +- group_vars/all/09_ports.yml | 2 +- roles/web-app-mybb/README.md | 29 ------------ roles/web-app-mybb/Todo.md | 2 - roles/web-app-mybb/config/main.yml | 21 --------- roles/web-app-mybb/meta/main.yml | 24 ---------- roles/web-app-mybb/schema/main.yml | 8 ---- roles/web-app-mybb/tasks/main.yml | 25 ----------- roles/web-app-mybb/templates/config.php.j2 | 13 ------ roles/web-app-mybb/templates/default.conf.j2 | 44 ------------------- .../templates/docker-compose.yml.j2 | 29 ------------ roles/web-app-mybb/vars/main.yml | 25 ----------- 12 files changed, 3 insertions(+), 223 deletions(-) delete mode 100644 roles/web-app-mybb/README.md delete mode 100644 roles/web-app-mybb/Todo.md delete mode 100644 roles/web-app-mybb/config/main.yml delete mode 100644 roles/web-app-mybb/meta/main.yml delete mode 100644 roles/web-app-mybb/schema/main.yml delete mode 100644 roles/web-app-mybb/tasks/main.yml delete mode 100644 roles/web-app-mybb/templates/config.php.j2 delete mode 100644 roles/web-app-mybb/templates/default.conf.j2 delete mode 100644 roles/web-app-mybb/templates/docker-compose.yml.j2 delete mode 100644 roles/web-app-mybb/vars/main.yml diff --git a/group_vars/all/09_networks.yml b/group_vars/all/09_networks.yml index 8b686942..9c5fc8e1 100644 --- a/group_vars/all/09_networks.yml +++ b/group_vars/all/09_networks.yml @@ -48,8 +48,8 @@ defaults_networks: subnet: 192.168.102.16/28 web-app-moodle: subnet: 192.168.102.32/28 - web-app-mybb: - subnet: 192.168.102.48/28 + # Free: + # subnet: 192.168.102.48/28 web-app-nextcloud: subnet: 192.168.102.64/28 web-app-openproject: diff --git a/group_vars/all/09_ports.yml b/group_vars/all/09_ports.yml index 25403400..c56eb02b 100644 --- a/group_vars/all/09_ports.yml +++ b/group_vars/all/09_ports.yml @@ -26,7 +26,7 @@ ports: web-app-gitea: 8002 web-app-wordpress: 8003 web-app-mediawiki: 8004 - web-app-mybb: 8005 + # Free: 8005 web-app-yourls: 8006 web-app-mailu: 8007 web-app-elk: 8008 diff --git a/roles/web-app-mybb/README.md b/roles/web-app-mybb/README.md deleted file mode 100644 index 02902ab0..00000000 --- a/roles/web-app-mybb/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# MyBB - -## Description - -Transform your community engagement with MyBB, a feature-rich forum solution that combines modern design with robust functionality. MyBB fosters dynamic discussions, intuitive moderation, and an energetic user interface that brings people together, creating a vibrant online community. - -## Overview - -This role deploys MyBB using Docker, leveraging Docker Compose to manage both the MyBB application and its underlying MariaDB database. It also integrates with an Nginx reverse proxy for secure, flexible multi-domain access. Additionally, the role supports the manual installation of MyBB plugins for added extensibility. For detailed installation and configuration instructions, please refer to the [Installation.md](./Installation.md) file. - -## Features - -- **Multi-Domain Support:** Configure MyBB for multi-domain installations by setting the correct cookie domain and board URL. -- **Plugin Extensibility:** Manually install and activate plugins to extend forum functionality and tailor the user experience. -- **Robust Deployment:** Achieve reliable and scalable deployment of your forum via Docker Compose, ensuring seamless service continuity. -- **Secure and Flexible Access:** Integrate with an Nginx reverse proxy to securely manage traffic and domain access. - -## Further Resources - -- [MyBB Docker Repository](https://github.com/mybb/docker) -- [MyBB Official Website](https://mybb.com/) - -## Credits - -Developed and maintained by **Kevin Veen-Birkenbach**. -Learn more at [veen.world](https://www.veen.world). - -Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) -Licensed under [Infinito.Nexus NonCommercial License](https://s.infinito.nexus/license). \ No newline at end of file diff --git a/roles/web-app-mybb/Todo.md b/roles/web-app-mybb/Todo.md deleted file mode 100644 index 2c7e19b7..00000000 --- a/roles/web-app-mybb/Todo.md +++ /dev/null @@ -1,2 +0,0 @@ -# Todo -- Optimize the role for the new role structure. But propably discourse is sufficient and this role isn't needed anymore. \ No newline at end of file diff --git a/roles/web-app-mybb/config/main.yml b/roles/web-app-mybb/config/main.yml deleted file mode 100644 index 9699240b..00000000 --- a/roles/web-app-mybb/config/main.yml +++ /dev/null @@ -1,21 +0,0 @@ - -features: - matomo: true - css: true - desktop: true - central_database: true - logout: true -docker: - services: - database: - enabled: true - mybb: - image: "mybb/mybb" - version: "latest" - name: "mybb" - volumes: - data: "mybb_data" -server: - domains: - canonical: - - mybb.{{ PRIMARY_DOMAIN }} diff --git a/roles/web-app-mybb/meta/main.yml b/roles/web-app-mybb/meta/main.yml deleted file mode 100644 index 9c9eda81..00000000 --- a/roles/web-app-mybb/meta/main.yml +++ /dev/null @@ -1,24 +0,0 @@ -galaxy_info: - author: "Kevin Veen-Birkenbach" - description: "Transform your community engagement with MyBB, a feature-rich forum solution that combines modern design with robust functionality. Enjoy dynamic discussions, intuitive moderation, and a vibrant user interface that brings your community together." - license: "Infinito.Nexus NonCommercial License" - license_url: "https://s.infinito.nexus/license" - company: | - Kevin Veen-Birkenbach - Consulting & Coaching Solutions - https://www.veen.world - galaxy_tags: - - mybb - - docker - - forum - - community - - cms - repository: "https://s.infinito.nexus/code" - issue_tracker_url: "https://s.infinito.nexus/issues" - documentation: "https://docs.infinito.nexus" - logo: - class: "fa-solid fa-comments" - run_after: - - web-app-matomo - - web-app-keycloak - - web-app-mailu diff --git a/roles/web-app-mybb/schema/main.yml b/roles/web-app-mybb/schema/main.yml deleted file mode 100644 index 636b2f03..00000000 --- a/roles/web-app-mybb/schema/main.yml +++ /dev/null @@ -1,8 +0,0 @@ -credentials: - secret_pin: - description: > - Optional secret PIN required for accessing the MyBB Admin Control Panel. - If set, administrators must enter this PIN in addition to their username - and password when logging into the ACP. - algorithm: "sha256" - validation: "^[a-f0-9]{64}$" \ No newline at end of file diff --git a/roles/web-app-mybb/tasks/main.yml b/roles/web-app-mybb/tasks/main.yml deleted file mode 100644 index cb3719aa..00000000 --- a/roles/web-app-mybb/tasks/main.yml +++ /dev/null @@ -1,25 +0,0 @@ -- name: "load docker, db and proxy for {{ application_id }}" - include_role: - name: sys-stk-full-stateful - vars: - docker_compose_flush_handlers: false - proxy_extra_configuration: "sub_filter '{{MYBB_DOMAIN}}' '{{ MYBB_DOMAIN }}';" - -- name: "create {{ MYBB_NGINX_CONF_DIR_HOST }} and parent directories" - file: - path: "{{ MYBB_NGINX_CONF_DIR_HOST }}" - state: directory - mode: "0755" - recurse: yes - -- name: "Deploy {{ MYBB_NGINX_DEFAULT_CONF_HOST }}" - template: - src: "default.conf.j2" - dest: "{{ MYBB_NGINX_DEFAULT_CONF_HOST }}" - notify: docker compose up - -- name: "Deploy {{ MYBB_CONFIG_HOST_PATH }}" - template: - src: "config.php.j2" - dest: "{{ MYBB_CONFIG_HOST_PATH }}" - mode: '0644' \ No newline at end of file diff --git a/roles/web-app-mybb/templates/config.php.j2 b/roles/web-app-mybb/templates/config.php.j2 deleted file mode 100644 index fbe28037..00000000 --- a/roles/web-app-mybb/templates/config.php.j2 +++ /dev/null @@ -1,13 +0,0 @@ -