Merge pull request #76 from mother-of-all-self-hosting/influxdb
Add Influxdb
This commit is contained in:
commit
4521c37386
4 changed files with 93 additions and 0 deletions
46
docs/services/influxdb.md
Normal file
46
docs/services/influxdb.md
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
# InfluxDB
|
||||||
|
|
||||||
|
[InfluxDB](https://www.influxdata.com/) is a self-hosted time-series database, that this playbook can install, powered by the [mother-of-all-self-hosting/ansible-role-influxdb](https://github.com/mother-of-all-self-hosting/ansible-role-influxdb) Ansible role.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
To enable this service, add the following configuration to your `vars.yml` file and re-run the [installation](../installing.md) process:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
########################################################################
|
||||||
|
# #
|
||||||
|
# influxdb #
|
||||||
|
# #
|
||||||
|
########################################################################
|
||||||
|
|
||||||
|
# Configuring this role for your playbook
|
||||||
|
|
||||||
|
influxdb_enabled: true
|
||||||
|
influxdb_hostname: 'example.org'
|
||||||
|
|
||||||
|
|
||||||
|
# Advanced configuration
|
||||||
|
# Configure the inital user, organization and bucket
|
||||||
|
#
|
||||||
|
# This setting will only be used once upon initial installation of influxdb. Changing this values
|
||||||
|
# after the first start of influxdb will have no effect.
|
||||||
|
# Not setting this will allow you to manually set these by visiting the domain you set in influxdb_hostname
|
||||||
|
# after installation.
|
||||||
|
#influxdb_init: true
|
||||||
|
#influxdb_init_username: "USERNAME"
|
||||||
|
#influxdb_init_password: "SUPERSECRETPASSWORD"
|
||||||
|
#influxdb_init_org: "EXAMPLE_ORG"
|
||||||
|
#influxdb_init_bucket: "SOMEBUCKET"
|
||||||
|
|
||||||
|
########################################################################
|
||||||
|
# #
|
||||||
|
# /influxdb #
|
||||||
|
# #
|
||||||
|
########################################################################
|
||||||
|
```
|
||||||
|
|
||||||
|
After installation, visit the domain you set in `influxdb_hostname` to get started.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
After [installing](../installing.md), you can visit at the URL specified in `influxdb_hostname` and configure your first user (or login if you set `influxdb_init`)
|
|
@ -123,6 +123,8 @@ devture_systemd_service_manager_services_list_auto: |
|
||||||
+
|
+
|
||||||
([{'name': (infisical_identifier + '-frontend.service'), 'priority': 2000, 'groups': ['mash', 'infisical', 'infisical-frontend']}] if infisical_enabled else [])
|
([{'name': (infisical_identifier + '-frontend.service'), 'priority': 2000, 'groups': ['mash', 'infisical', 'infisical-frontend']}] if infisical_enabled else [])
|
||||||
+
|
+
|
||||||
|
([{'name': (influxdb + '.service'), 'priority': 2000, 'groups': ['mash', 'influxdb']}] if influxdb_enabled else [])
|
||||||
|
+
|
||||||
([{'name': (jitsi_identifier + '-web.service'), 'priority': 4200, 'groups': ['mash', 'jitsi', 'jitsi-web']}] if jitsi_enabled else [])
|
([{'name': (jitsi_identifier + '-web.service'), 'priority': 4200, 'groups': ['mash', 'jitsi', 'jitsi-web']}] if jitsi_enabled else [])
|
||||||
+
|
+
|
||||||
([{'name': (jitsi_identifier + '-prosody.service'), 'priority': 4000, 'groups': ['mash', 'jitsi', 'jitsi-prosody']}] if jitsi_enabled else [])
|
([{'name': (jitsi_identifier + '-prosody.service'), 'priority': 4000, 'groups': ['mash', 'jitsi', 'jitsi-prosody']}] if jitsi_enabled else [])
|
||||||
|
@ -1452,6 +1454,46 @@ infisical_mongodb_auth_source: "{{ infisical_mongodb_db_name }}"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
########################################################################
|
||||||
|
# #
|
||||||
|
# influxdb #
|
||||||
|
# #
|
||||||
|
########################################################################
|
||||||
|
|
||||||
|
influxdb_enabled: false
|
||||||
|
|
||||||
|
influxdb_identifier: "{{ mash_playbook_service_identifier_prefix }}influxdb"
|
||||||
|
|
||||||
|
influxdb_base_path: "{{ mash_playbook_base_path }}/{{ mash_playbook_service_base_directory_name_prefix }}influxdb"
|
||||||
|
|
||||||
|
influxdb_uid: "{{ mash_playbook_uid }}"
|
||||||
|
influxdb_gid: "{{ mash_playbook_gid }}"
|
||||||
|
|
||||||
|
influxdb_systemd_required_services_list: |
|
||||||
|
{{
|
||||||
|
(['docker.service'])
|
||||||
|
}}
|
||||||
|
|
||||||
|
influxdb_container_additional_networks: |
|
||||||
|
{{
|
||||||
|
([mash_playbook_reverse_proxyable_services_additional_network] if mash_playbook_reverse_proxyable_services_additional_network else [])
|
||||||
|
}}
|
||||||
|
|
||||||
|
influxdb_container_labels_traefik_enabled: "{{ mash_playbook_traefik_labels_enabled }}"
|
||||||
|
influxdb_container_labels_traefik_docker_network: "{{ mash_playbook_reverse_proxyable_services_additional_network }}"
|
||||||
|
influxdb_container_labels_traefik_entrypoints: "{{ devture_traefik_entrypoint_primary }}"
|
||||||
|
influxdb_container_labels_traefik_tls_certResolver: "{{ devture_traefik_certResolver_primary }}"
|
||||||
|
|
||||||
|
|
||||||
|
########################################################################
|
||||||
|
# #
|
||||||
|
# /influxdb #
|
||||||
|
# #
|
||||||
|
########################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# #
|
# #
|
||||||
# jitsi #
|
# jitsi #
|
||||||
|
|
|
@ -83,6 +83,9 @@
|
||||||
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-infisical.git
|
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-infisical.git
|
||||||
version: v0.3.8-4
|
version: v0.3.8-4
|
||||||
name: infisical
|
name: infisical
|
||||||
|
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-influxdb.git
|
||||||
|
version: v2.7.0-3
|
||||||
|
name: influxdb
|
||||||
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-jitsi.git
|
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-jitsi.git
|
||||||
version: v8615-0
|
version: v8615-0
|
||||||
name: jitsi
|
name: jitsi
|
||||||
|
|
|
@ -94,6 +94,8 @@
|
||||||
|
|
||||||
- role: galaxy/hubsite
|
- role: galaxy/hubsite
|
||||||
|
|
||||||
|
- role: galaxy/influxdb
|
||||||
|
|
||||||
- role: galaxy/jitsi
|
- role: galaxy/jitsi
|
||||||
|
|
||||||
- role: galaxy/keycloak
|
- role: galaxy/keycloak
|
||||||
|
|
Loading…
Reference in a new issue