initial commit

This commit is contained in:
hiperman
2026-01-30 15:07:31 -05:00
commit 7844cc4416
83 changed files with 3802 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# Grafana
Deploy Grafana data visualization platform using Docker Compose.
## Description
Grafana is an analytics and monitoring platform with beautiful dashboards and alerting capabilities.
## Variables
### Optional
| Variable | Default | Description |
|----------|---------|-------------|
| `grafana_http_port` | `3000` | Web interface port |
| `grafana_data_path` | `{{ app_dir }}/data` | Data storage |
| `grafana_container_version` | `latest` | Grafana Docker image tag |
## Example
```yaml
- role: patrickj.docker_apps.grafana
vars:
grafana_http_port: 3001
```
+8
View File
@@ -0,0 +1,8 @@
---
app_name: grafana
grafana_container_name: "{{ app_name | default('grafana') }}"
grafana_container_version: latest
grafana_restart_policy: "{{ app_restart_policy }}"
grafana_http_port: 3000
grafana_data_path: "{{ app_dir }}/data"
+14
View File
@@ -0,0 +1,14 @@
---
galaxy_info:
author: Patrick Jaroszewski
description: Deploy grafana with Docker Compose
license: MIT
dependencies:
- role: patrickj.docker_apps.docker_compose_app
vars:
app_role_name: grafana
app_subdirectories:
- "{{ grafana_data_path }}"
app_backup_subdirectories:
- "{{ grafana_data_path }}"
+10
View File
@@ -0,0 +1,10 @@
---
services:
grafana:
image: "grafana/grafana-oss:{{ grafana_container_version }}"
container_name: "{{ grafana_container_name }}"
restart: "{{ grafana_restart_policy }}"
ports:
- "{{ grafana_http_port }}:3000"
volumes:
- "{{ grafana_data_path }}:/var/lib/grafana"