Bxl-rpi grafana alerting

This commit is contained in:
Brieuc Dubois 2023-04-10 23:23:32 +02:00 committed by Bhasher
parent 24f4e0397f
commit a3749775c5
1 changed files with 37 additions and 0 deletions

View File

@ -143,6 +143,12 @@ services:
- "traefik.http.services.grafana.loadbalancer.server.port=3000" - "traefik.http.services.grafana.loadbalancer.server.port=3000"
- "traefik.http.routers.grafana.tls=true" - "traefik.http.routers.grafana.tls=true"
- "traefik.http.routers.grafana.tls.certresolver=http" - "traefik.http.routers.grafana.tls.certresolver=http"
environment:
- GF_SMTP_ENABLED=true
- GF_SMTP_HOST=bdubois.io:465
- GF_SMTP_USER=${SMTP_USER}
- GF_SMTP_PASSWORD=${SMTP_PASSWORD}
- GF_SMTP_FROM_ADDRESS=grafana@bhasher.com
volumes: volumes:
- $DATA/monitoring/grafana:/var/lib/grafana - $DATA/monitoring/grafana:/var/lib/grafana
@ -173,6 +179,7 @@ services:
restart: always restart: always
jellyfin: jellyfin:
container_name: jellyfin
image: linuxserver/jellyfin:latest image: linuxserver/jellyfin:latest
volumes: volumes:
- $DATA/mediaserver/jellyfin:/config - $DATA/mediaserver/jellyfin:/config
@ -180,6 +187,8 @@ services:
- /mnt/movies/movies:/data/movies - /mnt/movies/movies:/data/movies
- /mnt/movies/musics:/data/musics - /mnt/movies/musics:/data/musics
environment: environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris - TZ=Europe/Paris
restart: unless-stopped restart: unless-stopped
labels: labels:
@ -191,9 +200,12 @@ services:
- "traefik.http.routers.jellyfin.tls.certresolver=http" - "traefik.http.routers.jellyfin.tls.certresolver=http"
radarr: radarr:
container_name: radarr
image: lscr.io/linuxserver/radarr:latest image: lscr.io/linuxserver/radarr:latest
environment: environment:
- TZ=Europe/Paris - TZ=Europe/Paris
- PUID=1000
- PGID=1000
volumes: volumes:
- $DATA/mediaserver/radarr:/config - $DATA/mediaserver/radarr:/config
- /mnt/movies/movies:/movies - /mnt/movies/movies:/movies
@ -208,6 +220,7 @@ services:
- "traefik.http.routers.radarr.entrypoints=internalsecure" - "traefik.http.routers.radarr.entrypoints=internalsecure"
sonarr: sonarr:
container_name: sonarr
image: lscr.io/linuxserver/sonarr:latest image: lscr.io/linuxserver/sonarr:latest
environment: environment:
- PUID=1000 - PUID=1000
@ -227,6 +240,7 @@ services:
- "traefik.http.routers.sonarr.entrypoints=internalsecure" - "traefik.http.routers.sonarr.entrypoints=internalsecure"
lidarr: lidarr:
container_name: lidarr
image: lscr.io/linuxserver/lidarr:latest image: lscr.io/linuxserver/lidarr:latest
environment: environment:
- PUID=1000 - PUID=1000
@ -246,6 +260,7 @@ services:
- "traefik.http.routers.lidarr.entrypoints=internalsecure" - "traefik.http.routers.lidarr.entrypoints=internalsecure"
transmission: transmission:
container_name: transmission
image: lscr.io/linuxserver/transmission:latest image: lscr.io/linuxserver/transmission:latest
environment: environment:
- PUID=1000 - PUID=1000
@ -268,6 +283,7 @@ services:
- "traefik.http.routers.transmission.entrypoints=internalsecure" - "traefik.http.routers.transmission.entrypoints=internalsecure"
jackett: jackett:
container_name: jackett
image: lscr.io/linuxserver/jackett:latest image: lscr.io/linuxserver/jackett:latest
environment: environment:
- PUID=1000 - PUID=1000
@ -287,6 +303,7 @@ services:
- "traefik.http.routers.jackett.entrypoints=internalsecure" - "traefik.http.routers.jackett.entrypoints=internalsecure"
flaresolverr: flaresolverr:
container_name: flaresolverr
image: ghcr.io/flaresolverr/flaresolverr:latest image: ghcr.io/flaresolverr/flaresolverr:latest
environment: environment:
- LOG_LEVEL=info - LOG_LEVEL=info
@ -296,9 +313,12 @@ services:
restart: unless-stopped restart: unless-stopped
bazarr: bazarr:
container_name: bazarr
image: lscr.io/linuxserver/bazarr image: lscr.io/linuxserver/bazarr
environment: environment:
- TZ=Europe/Paris - TZ=Europe/Paris
- PUID=1000
- PGID=1000
volumes: volumes:
- $DATA/mediaserver/bazarr:/config - $DATA/mediaserver/bazarr:/config
- /mnt/movies/movies:/movies - /mnt/movies/movies:/movies
@ -312,3 +332,20 @@ services:
- "traefik.http.routers.bazarr.tls.certresolver=http" - "traefik.http.routers.bazarr.tls.certresolver=http"
- "traefik.http.routers.bazarr.entrypoints=internalsecure" - "traefik.http.routers.bazarr.entrypoints=internalsecure"
baikal:
container_name: baikal
image: ckulka/baikal:nginx
restart: on-failure
environment:
- TZ=Europe/Paris
volumes:
- $DATA/baikal/config:/var/www/baikal/config
- $DATA/baikal/data:/var/www/baikal/Specific
labels:
- "traefik.enable=true"
- "traefik.http.routers.baikal.rule=Host(`baikal.bxl.bhasher.com`)"
- "traefik.http.services.baikal.loadbalancer.server.port=80"
- "traefik.http.routers.baikal.tls=true"
- "traefik.http.routers.baikal.tls.certresolver=http"
- "traefik.http.routers.baikal.entrypoints=internalsecure,externalsecure"