mirror of
https://github.com/onedr0p/exportarr.git
synced 2026-02-06 10:57:32 +00:00
chore: update docker-compose example and add scrape target example (#203)
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
This commit is contained in:
parent
cf99da52d7
commit
6a4d87bf4d
@ -7,26 +7,64 @@ services:
|
||||
command: ["sonarr"]
|
||||
environment:
|
||||
PORT: 9707
|
||||
URL: "http://x.x.x.x:8989"
|
||||
URL: "http://x.x.x.x:8989" # or; http://sonarr:8989
|
||||
APIKEY: "xxx"
|
||||
# networks:
|
||||
# - your_custom_network # optional
|
||||
ports:
|
||||
- "9707:9707"
|
||||
restart: unless-stopped
|
||||
radarr-exporter:
|
||||
image: ghcr.io/onedr0p/exportarr:v1.0.0
|
||||
container_name: radarr-exporter
|
||||
command: ["radarr"]
|
||||
environment:
|
||||
PORT: 9708
|
||||
URL: "http://x.x.x.x:7878"
|
||||
URL: "http://x.x.x.x:7878" # or; http://radarr:7878
|
||||
APIKEY: "xxx"
|
||||
# networks:
|
||||
# - your_custom_network # optional
|
||||
ports:
|
||||
- "9708:9708"
|
||||
restart: unless-stopped
|
||||
lidarr-exporter:
|
||||
image: ghcr.io/onedr0p/exportarr:v1.0.0
|
||||
container_name: lidarr-exporter
|
||||
command: ["lidarr"]
|
||||
environment:
|
||||
PORT: 9709
|
||||
URL: "http://x.x.x.x:8686"
|
||||
URL: "http://x.x.x.x:8686" # or; http://lidarr:8686
|
||||
APIKEY: "xxx"
|
||||
# networks:
|
||||
# - your_custom_network # optional
|
||||
ports:
|
||||
- "9709:9709"
|
||||
restart: unless-stopped
|
||||
prowlarr-exporter:
|
||||
image: ghcr.io/onedr0p/exportarr:latest
|
||||
container_name: prowlarr-exporter
|
||||
command: ["prowlarr"]
|
||||
environment:
|
||||
PORT: 9710
|
||||
URL: "http://x.x.x.x:9696" # or; http://prowlarr:8080
|
||||
APIKEY: "abc"
|
||||
# PROWLARR_BACKFILL: true # optional
|
||||
# PROWLARR_BACKFILL_SINCE_DATE: "2023-03-01" # optional
|
||||
# networks:
|
||||
# - your_custom_network # optional
|
||||
ports:
|
||||
- "9710:9710"
|
||||
restart: unless-stopped
|
||||
sabnzbd-exporter:
|
||||
image: ghcr.io/onedr0p/exportarr:latest
|
||||
container_name: sabnzbd-exporter
|
||||
command: ["sabnzbd"]
|
||||
environment:
|
||||
PORT: 9711
|
||||
URL: "http://x.x.x.x:8080" # or; http://sabnzbd:8080
|
||||
APIKEY: "abc"
|
||||
# networks:
|
||||
# - your_custom_network # optional
|
||||
ports:
|
||||
- "9711:9711"
|
||||
restart: unless-stopped
|
||||
|
||||
27
examples/prometheus/prometheus.yml
Normal file
27
examples/prometheus/prometheus.yml
Normal file
@ -0,0 +1,27 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["localhost:9090"]
|
||||
|
||||
- job_name: "sonarr-exporter" # Renamed job_name for clarity
|
||||
static_configs:
|
||||
- targets: ["sonarr-exporter:9707"] # Use service name and port
|
||||
|
||||
- job_name: "radarr-exporter" # Renamed job_name for clarity
|
||||
static_configs:
|
||||
- targets: ["radarr-exporter:9708"] # Use service name and port
|
||||
|
||||
- job_name: "prowlarr-exporter" # Renamed job_name for clarity
|
||||
static_configs:
|
||||
- targets: ["prowlarr-exporter:9709"] # Use service name and port
|
||||
|
||||
- job_name: "sabnzbd-exporter" # Renamed job_name for clarity
|
||||
static_configs:
|
||||
- targets: ["sabnzbd-exporter:9710"] # Use service name and port
|
||||
|
||||
- job_name: "lidarr-exporter" # Renamed job_name for clarity
|
||||
static_configs:
|
||||
- targets: ["lidarr-exporter:9711"] # Use service name and port
|
||||
Loading…
Reference in New Issue
Block a user