From 2f3fb21ab68417057532fa982845a18252cd13a7 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Tue, 13 Jun 2023 19:55:39 -0700 Subject: [PATCH] Bump miniflux, add miniflux to prometheus --- lotus-land-story/miniflux.yml | 4 +++- lotus-land-story/templates/prometheus.yml | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lotus-land-story/miniflux.yml b/lotus-land-story/miniflux.yml index 4dd4e70..0eb2770 100644 --- a/lotus-land-story/miniflux.yml +++ b/lotus-land-story/miniflux.yml @@ -51,7 +51,7 @@ # recreate: true # restart: true name: miniflux - image: miniflux/miniflux:2.0.43 + image: miniflux/miniflux:2.0.44 env: DATABASE_URL: postgres://miniflux:{{ miniflux.db_password }}@host.docker.internal/miniflux RUN_MIGRATIONS: "1" @@ -59,6 +59,8 @@ ADMIN_USERNAME: alpha ADMIN_PASSWORD: "{{ miniflux.password }}" BASE_URL: https://rss.{{ domain }} + METRICS_COLLECTOR: "1" + METRICS_ALLOWED_NETWORKS: "172.25.0.0/16" # TODO Read this from docker? restart_policy: unless-stopped networks: - name: lotus_land_story diff --git a/lotus-land-story/templates/prometheus.yml b/lotus-land-story/templates/prometheus.yml index 2d61374..d45ddff 100644 --- a/lotus-land-story/templates/prometheus.yml +++ b/lotus-land-story/templates/prometheus.yml @@ -33,6 +33,10 @@ scrape_configs: static_configs: - targets: ['promtail:9080'] + - job_name: miniflux + static_configs: + - targets: ['miniflux:8080'] + - job_name: linode linode_sd_configs: - authorization: