initial commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Uptime Kuma
|
||||
|
||||
Deploy Uptime Kuma monitoring tool using Docker Compose.
|
||||
|
||||
## Description
|
||||
|
||||
Uptime Kuma is a fancy self-hosted monitoring tool with notifications and status pages.
|
||||
|
||||
## Variables
|
||||
|
||||
### Optional
|
||||
|
||||
| Variable | Default | Description |
|
||||
|----------|---------|-------------|
|
||||
| `uptime_kuma_http_port` | `3001` | Web interface port |
|
||||
| `uptime_kuma_data_path` | `{{ app_dir }}/data` | Application data storage |
|
||||
| `uptime_kuma_container_version` | `2` | Uptime Kuma Docker image tag |
|
||||
|
||||
## Example
|
||||
|
||||
```yaml
|
||||
- role: patrickj.docker_apps.uptime-kuma
|
||||
vars:
|
||||
uptime_kuma_http_port: 3002
|
||||
```
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
app_name: uptime-kuma
|
||||
|
||||
# Container configuration
|
||||
uptime_kuma_container_name: "{{ app_name | default('uptime-kuma') }}"
|
||||
uptime_kuma_container_version: 2
|
||||
uptime_kuma_restart_policy: "{{ app_restart_policy }}"
|
||||
|
||||
# Network configuration
|
||||
uptime_kuma_http_port: 3001
|
||||
|
||||
# Volume paths
|
||||
uptime_kuma_data_path: "{{ app_dir }}/data"
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: Patrick Jaroszewski
|
||||
description: Deploy Uptime Kuma with Docker Compose
|
||||
license: MIT
|
||||
|
||||
dependencies:
|
||||
- role: patrickj.docker_apps.docker_compose_app
|
||||
vars:
|
||||
app_role_name: uptime-kuma
|
||||
app_subdirectories:
|
||||
- "{{ uptime_kuma_data_path }}"
|
||||
app_backup_subdirectories:
|
||||
- "{{ uptime_kuma_data_path }}"
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
services:
|
||||
uptime-kuma:
|
||||
image: louislam/uptime-kuma:{{ uptime_kuma_container_version }}
|
||||
container_name: "{{ uptime_kuma_container_name }}"
|
||||
restart: "{{ uptime_kuma_restart_policy }}"
|
||||
volumes:
|
||||
- "{{ uptime_kuma_data_path }}:/app/data"
|
||||
ports:
|
||||
- "{{ uptime_kuma_http_port }}:3001"
|
||||
Reference in New Issue
Block a user