Bump miniflux, add miniflux to prometheus

main
Alpha Chen 1 year ago
parent 74a8c5522e
commit 2f3fb21ab6
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -51,7 +51,7 @@
# recreate: true # recreate: true
# restart: true # restart: true
name: miniflux name: miniflux
image: miniflux/miniflux:2.0.43 image: miniflux/miniflux:2.0.44
env: env:
DATABASE_URL: postgres://miniflux:{{ miniflux.db_password }}@host.docker.internal/miniflux DATABASE_URL: postgres://miniflux:{{ miniflux.db_password }}@host.docker.internal/miniflux
RUN_MIGRATIONS: "1" RUN_MIGRATIONS: "1"
@ -59,6 +59,8 @@
ADMIN_USERNAME: alpha ADMIN_USERNAME: alpha
ADMIN_PASSWORD: "{{ miniflux.password }}" ADMIN_PASSWORD: "{{ miniflux.password }}"
BASE_URL: https://rss.{{ domain }} 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 restart_policy: unless-stopped
networks: networks:
- name: lotus_land_story - name: lotus_land_story

@ -33,6 +33,10 @@ scrape_configs:
static_configs: static_configs:
- targets: ['promtail:9080'] - targets: ['promtail:9080']
- job_name: miniflux
static_configs:
- targets: ['miniflux:8080']
- job_name: linode - job_name: linode
linode_sd_configs: linode_sd_configs:
- authorization: - authorization:

Loading…
Cancel
Save