diff --git a/README.md b/README.md index de4420a9..fdcce8d0 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ | --- | --- | | actual_server | docker.io/actualbudget/actual-server:latest | | adguard | adguard/adguardhome:latest | +| apprise-api | lscr.io/linuxserver/apprise-api:latest | | archivebox | archivebox/archivebox:latest | | audiobookshelf | ghcr.io/advplyr/audiobookshelf:latest | | authelia | authelia/authelia:master | @@ -79,6 +80,7 @@ | lidify | thewicklowwolf/lidify:latest | | linkstack | linkstackorg/linkstack:latest | | lldap | lldap/lldap:stable | +| loggifly | ghcr.io/clemcer/loggifly:latest | | maloja | krateng/maloja:latest | | manyfold | lscr.io/linuxserver/manyfold:latest | | mariadb | linuxserver/mariadb | diff --git a/ansible/app-configs/apprise_apprise.yml b/ansible/app-configs/apprise_apprise.yml new file mode 100644 index 00000000..317a8329 --- /dev/null +++ b/ansible/app-configs/apprise_apprise.yml @@ -0,0 +1,3 @@ +urls: + - 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'] }} + - mailtos://{{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['POSTAL_SMTP_AUTH_USER'] }}:{{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['POSTAL_SMTP_AUTH_PASSWORDz'] }}@trez.wtf25?smtp=postal-smtp&from=noreply@trez.wtf \ No newline at end of file diff --git a/ansible/app-configs/loggifly_config.yml b/ansible/app-configs/loggifly_config.yml new file mode 100644 index 00000000..2a5370ed --- /dev/null +++ b/ansible/app-configs/loggifly_config.yml @@ -0,0 +1,21 @@ +containers: + +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 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 414cf3e6..98a8d50c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -102,6 +102,20 @@ services: type: bind bind: create_host_path: true + apprise-api: + container_name: apprise-api + environment: + PUID: ${PUID} + PGID: $[PGID] + TZ: ${TZ} + APPRISE_ATTACH_SIZE: 500 + image: lscr.io/linuxserver/apprise-api:latest + ports: + - 54995:8000 + restart: unless-stopped + volumes: + - ${DOCKER_VOLUME_CONFIG}/apprise:/etc/apprise + - ${DOCKER_VOLUME_CONFIG}/apprise/attachments:/attachments #optional archivebox: container_name: archivebox environment: @@ -3018,6 +3032,13 @@ services: type: bind bind: create_host_path: true + loggifly: + image: ghcr.io/clemcer/loggifly:latest + container_name: loggifly + restart: unless-stopped + volumes: + - /var/run/docker.sock:/var/run/docker.sock:ro + - ${DOCKER_VOLUME_CONFIG}/loggifly/config.yaml:/app/config.yaml # Path to your config file (ignore if you are only using environment variables) maloja: container_name: maloja environment: