Merge pull request #75 from mother-of-all-self-hosting/rumqttd

Add rumqttd
This commit is contained in:
Slavi Pantaleev 2023-06-30 14:55:37 +03:00 committed by GitHub
commit eff715f707
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 64 additions and 0 deletions

37
docs/services/rumqttd.md Normal file
View file

@ -0,0 +1,37 @@
# rumqttd
[rumqttd](https://github.com/bytebeamio/rumqtt) is a high performance, embeddable [MQTT](https://en.wikipedia.org/wiki/MQTT) broker installed via [mother-of-all-self-hosting/ansible-role-rumqttd](https://github.com/mother-of-all-self-hosting/ansible-role-rumqttd).
# Configuring this role for your playbook
## Dependencies
This service does not require any dependecies.
## Configuration
To enable this service, add the following configuration to your `vars.yml` file and re-run the [installation](../installing.md) process:
```yaml
########################################################################
# #
# rumqttd #
# #
########################################################################
rumqttd_enabled: true
########################################################################
# #
# /rumqttd #
# #
########################################################################
```
## Usage
You can then start to send and subscribe to MQTT topics. Use port 1883 and the servers IP or any domain you configured to point at this server.

View file

@ -44,6 +44,7 @@
| [Radicale](https://radicale.org/) | A Free and Open-Source CalDAV and CardDAV Server (solution for hosting contacts and calendars) | [Link](services/radicale.md) |
| [Redmine](https://redmine.org/) | A flexible project management web application. | [Link](services/redmine.md) |
| [Redis](https://redis.io/) | An in-memory data store used by millions of developers as a database, cache, streaming engine, and message broker. | [Link](services/redis.md) |
| [rumqttd](https://github.com/bytebeamio/rumqtt) | A high performance, embeddable [MQTT](https://en.wikipedia.org/wiki/MQTT) broker | [Link](services/rumqttd.md) |
| [Soft Serve](https://github.com/charmbracelet/soft-serve) | A tasty, self-hostable [Git](https://git-scm.com/) server for the command line | [Link](services/soft-serve.md) |
| [Syncthing](https://syncthing.net/) | A continuous file synchronization program which synchronizes files between two or more computers in real time | [Link](services/syncthing.md) |
| [Telegraf](https://www.influxdata.com/) | An open source server agent to help you collect metrics from your stacks, sensors, and systems. | [Link](services/telegraf.md) |

View file

@ -187,6 +187,8 @@ devture_systemd_service_manager_services_list_auto: |
+
([{'name': (redis_identifier + '.service'), 'priority': 750, 'groups': ['mash', 'redis']}] if redis_enabled else [])
+
([{'name': (rumqttd_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'rumqttd']}] if rumqttd_enabled else [])
+
([{'name': (soft_serve_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'soft-serve']}] if soft_serve_enabled else [])
+
([{'name': (syncthing_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'syncthing']}] if syncthing_enabled else [])
@ -2342,7 +2344,26 @@ redis_gid: "{{ mash_playbook_gid }}"
# #
########################################################################
########################################################################
# #
# rumqttd #
# #
########################################################################
rumqttd_enabled: false
rumqttd_identifier: "{{ mash_playbook_service_identifier_prefix }}rumqttd"
rumqttd_base_path: "{{ mash_playbook_base_path }}/{{ mash_playbook_service_base_directory_name_prefix }}rumqttd"
rumqttd_uid: "{{ mash_playbook_uid }}"
rumqttd_gid: "{{ mash_playbook_gid }}"
########################################################################
# #
# /rumqttd #
# #
########################################################################
########################################################################

View file

@ -143,6 +143,9 @@
version: v7.0.10-0
- src: git+https://gitlab.com/etke.cc/roles/redmine.git
version: v5.0.5-2
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-rumqttd.git
version: v0.21.0-0
name: rumqttd
- src: git+https://gitlab.com/etke.cc/roles/soft_serve.git
version: v0.4.7-0
- src: git+https://gitlab.com/etke.cc/roles/ssh.git

View file

@ -127,6 +127,8 @@
- role: galaxy/redis
- role: galaxy/rumqttd
- role: galaxy/soft_serve
- role: galaxy/syncthing