Files
rinoa-docker/ansible/app-configs/loggifly/config.yaml.j2
T
Trez.One 56c03bf6b6
Gitea Branch PR & Ansible Deployment / Check and Create PR (push) Successful in 31m56s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (push) Successful in 16m45s
Gitea Branch PR & Ansible Deployment / PR Merge (push) Successful in 3m23s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (push) Successful in 30m54s
Adding Valkey containers for Loggifly monitoring.
2025-07-05 10:10:24 -04:00

102 lines
3.6 KiB
Django/Jinja

{% set vault_addr = 'https://vault.trez.wtf' %}
{% set secrets_path = 'rinoa-docker/env' %}
containers:
ghost_blog:
action_keywords:
- restart:
regex: 'Connection Error.*ECONNRESET$'
immich-server:
action_keywords:
- restart:
regex: '(ENOTFOUND|Error|ECONNREFUSED)'
invidious:
action_keywords:
- restart:
regex: 'Error reading.*Connection reset by peer trying to reconnect\.\.\.'
maxun-backend:
action_keywords:
- restart:
regex: '[Ee]rror'
planka:
action_keywords:
- restart:
regex: 'Failed to lift app: Sails is taking too long to load.$'
scrutiny:
action_keywords:
- restart:
regex: '^s6-rc: fatal: timed out$'
swag:
action_keywords:
- restart:
regex: 's6-rc: fatal.*'
authelia-valkey:
action_keywords:
- restart:
regex: 'Asynchronous AOF fsync is taking too long.*slow down the server.$'
castopod-valkey:
action_keywords:
- restart:
regex: 'Asynchronous AOF fsync is taking too long.*slow down the server.$'
dawarich-valkey:
action_keywords:
- restart:
regex: 'Asynchronous AOF fsync is taking too long.*slow down the server.$'
immich-valkey:
action_keywords:
- restart:
regex: 'Asynchronous AOF fsync is taking too long.*slow down the server.$'
librechat-valkey:
action_keywords:
- restart:
regex: 'Asynchronous AOF fsync is taking too long.*slow down the server.$'
manyfold-valkey:
action_keywords:
- restart:
regex: 'Asynchronous AOF fsync is taking too long.*slow down the server.$'
mastodon-valkey:
action_keywords:
- restart:
regex: 'Asynchronous AOF fsync is taking too long.*slow down the server.$'
maxun-valkey:
action_keywords:
- restart:
regex: 'Asynchronous AOF fsync is taking too long.*slow down the server.$'
mixpost-valkey:
action_keywords:
- restart:
regex: 'Asynchronous AOF fsync is taking too long.*slow down the server.$'
paperless-valkey:
action_keywords:
- restart:
regex: 'Asynchronous AOF fsync is taking too long.*slow down the server.$'
plant-it-valkey:
action_keywords:
- restart:
regex: 'Asynchronous AOF fsync is taking too long.*slow down the server.$'
romm-valkey:
action_keywords:
- restart:
regex: 'Asynchronous AOF fsync is taking too long.*slow down the server.$'
searxng-valkey:
action_keywords:
- restart:
regex: 'Asynchronous AOF fsync is taking too long.*slow down the server.$'
global_keywords:
keywords:
- panic
keywords_with_attachment:
- fatal
notifications:
apprise:
url: gotify://gotify/{{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['APPRISE_GOTIFY_TOKEN'] }} # Any Apprise-compatible URL (https://github.com/caronc/apprise/wiki)
# settings are optional because they all have default values
settings:
log_level: INFO # DEBUG, INFO, WARNING, ERROR
notification_cooldown: 5 # Seconds between alerts for same keyword (per container)
attachment_lines: 20 # Number of Lines to include in log attachments
multi_line_entries: true # Detect multi-line log entries
disable_restart: false # Disable restart when a config change is detected
disable_start_message: false # Suppress startup notification
disable_shutdown_message: false # Suppress shutdown notification
disable_restart_message: false # Suppress config reload notification