anandslab/docker-traefik

[Solved] How to setup Prowlarr/Radarr?

Krrost opened this issue · 10 comments

Hi, I have troubles adding Radarr to Prowlarr.
In the URLs field "https://prowlarr.example.com/" and "https://radarr.example.com/" are not working.
In the logs: "Prowlarr url is invalid, Radarr cannot connect to Prowlarr"
With the local IP addresses "https://192.168.x.x./" it's the same.
My setup is equal to this (.yml and all)
Any help?

Does traefik work before you tried radar etc.?

On Thu, Apr 21, 2022, 7:45 AM Krrost @.> wrote: Hi, I have troubles adding Radarr to Prowlarr. In the URLs field "https://prowlarr.example.com/" and " https://radarr.example.com/" are not working. In the logs: "Prowlarr url is invalid, Radarr cannot connect to Prowlarr" With the local IP addresses "https://192.168.x.x./" it's the same. My setup is equal to this (.yml and all) Any help? — Reply to this email directly, view it on GitHub <#265>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJIJNRC7WDKFJU42CUEUB2LVGE5WFANCNFSM5T67HJGQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

All is working fine even now. I can add indexers to Radarr but it's like Radarr can't see Prowlarr.

Everything has its own static?

On Thu, Apr 21, 2022, 11:26 AM Krrost @.> wrote: Does traefik work before you tried radar etc.? … <#m_5549467442137372626_> On Thu, Apr 21, 2022, 7:45 AM Krrost @.> wrote: Hi, I have troubles adding Radarr to Prowlarr. In the URLs field "https://prowlarr.example.com/ https://prowlarr.example.com/" and " https://radarr.example.com/ https://radarr.example.com/" are not working. In the logs: "Prowlarr url is invalid, Radarr cannot connect to Prowlarr" With the local IP addresses "https://192.168.x.x./ https://192.168.x.x./" it's the same. My setup is equal to this (.yml and all) Any help? — Reply to this email directly, view it on GitHub <#265 <#265>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJIJNRC7WDKFJU42CUEUB2LVGE5WFANCNFSM5T67HJGQ https://github.com/notifications/unsubscribe-auth/AJIJNRC7WDKFJU42CUEUB2LVGE5WFANCNFSM5T67HJGQ . You are receiving this because you are subscribed to this thread.Message ID: @.> All is working fine even now. I can add indexers to Radarr but it's like Radarr can't see Prowlarr. — Reply to this email directly, view it on GitHub <#265 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJIJNREOIDOWNC64PUHAWGTVGFXS5ANCNFSM5T67HJGQ . You are receiving this because you commented.Message ID: @.**>

Yes

It's actually identical to the one in the docker-compose-t2.yml
The in-app configuration are the defaults.

Another thing that can point the problem out is:
When configuring the glances widgets in dashy, I have to specify the URL of the service, well with "glances.example.com" it won't fetch the data.

I got this working in my setup with the following:
In Prowlarr --> Settings --> Apps, I have the following:
Prowlarr Server: http://prowlarr:9696
Radarr Server: http://radarr:7878
ApiKey: **API Key from Radarr**

The API Key for Radarr can be found at the following:
In Radarr --> Settings --> General --> Security

I use the the same for Sonar but the following
Sonarr Server: http://sonarr:8989
ApiKey: **API Key from Sonarr**

My docker-compose snippets for Prowlarr and Radarr are as followsL

  # Prowlarr - Indexer management
  prowlarr:
    image: lscr.io/linuxserver/prowlarr:develop
    container_name: prowlarr
    restart: unless-stopped
    networks:
      t2_proxy:
    security_opt:
      - no-new-privileges:true
    volumes:
      - $DOCKERDIR/appdata/prowlarr:/config
    environment:
      PUID: $PUID
      PGID: $PGID
      TZ: $TZ
    labels:
      - "traefik.enable=true"
      ## HTTP Routers
      - "traefik.http.routers.prowlarr-rtr.entrypoints=https"
      - "traefik.http.routers.prowlarr-rtr.rule=Host(`prowlarr.$DOMAINNAME0`)"                                                 
      ## Middlewares
      - "traefik.http.routers.prowlarr-rtr.middlewares=chain-authelia@file"                                                   
      ## HTTP Services
      - "traefik.http.routers.prowlarr-rtr.service=prowlarr-svc"
      - "traefik.http.services.prowlarr-svc.loadbalancer.server.port=9696" 

############################# PVRS
  # Radarr - Movie management
  # Set url_base in radarr settings if using PathPrefix
  radarr:
    image: lscr.io/linuxserver/radarr:latest
    container_name: radarr
    restart: "no"
    networks:
      t2_proxy:
    security_opt:
      - no-new-privileges:true
    volumes:
      - $DOCKERDIR/appdata/radarr:/config
      # Optional. See why MediaCover is mounted as volume https://github.com/htpcBeginner/docker-traefik/discussions/147
      - $DATADIR/temp/docker/appdata/radarr/MediaCover:/config/MediaCover
      - $DATADIR/download/media:/data
      - "/etc/localtime:/etc/localtime:ro"
    environment:
      PUID: $PUID
      PGID: $PGID
      TZ: $TZ
    labels:
      - "traefik.enable=true"
      ## HTTP Routers Auth Bypass
      - "traefik.http.routers.radarr-rtr-bypass.entrypoints=https"
      - "traefik.http.routers.radarr-rtr-bypass.rule=Host(`radarr.$DOMAINNAME0`) && (Headers(`X-Api-Key`, `$RADARR_API_KEY`) || Query(`apikey`, `$RADARR_API_KEY`))"
      - "traefik.http.routers.radarr-rtr-bypass.priority=100"
      ## HTTP Routers Auth
      - "traefik.http.routers.radarr-rtr.entrypoints=https"
      - "traefik.http.routers.radarr-rtr.rule=Host(`radarr.$DOMAINNAME0`)"
      - "traefik.http.routers.radarr-rtr.priority=99"
      ## Middlewares
      - "traefik.http.routers.radarr-rtr-bypass.middlewares=chain-no-auth@file"
      - "traefik.http.routers.radarr-rtr.middlewares=chain-authelia@file"
      ## HTTP Services
      - "traefik.http.routers.radarr-rtr.service=radarr-svc"
      - "traefik.http.routers.radarr-rtr-bypass.service=radarr-svc"
      - "traefik.http.services.radarr-svc.loadbalancer.server.port=7878"

I got this working in my setup with the following: In Prowlarr --> Settings --> Apps, I have the following: Prowlarr Server: http://prowlarr:9696 Radarr Server: http://radarr:7878 ApiKey: **API Key from Radarr**

The API Key for Radarr can be found at the following: In Radarr --> Settings --> General --> Security

I use the the same for Sonar but the following Sonarr Server: http://sonarr:8989 ApiKey: **API Key from Sonarr**

My docker-compose snippets for Prowlarr and Radarr are as followsL

  # Prowlarr - Indexer management
  prowlarr:
    image: lscr.io/linuxserver/prowlarr:develop
    container_name: prowlarr
    restart: unless-stopped
    networks:
      t2_proxy:
    security_opt:
      - no-new-privileges:true
    volumes:
      - $DOCKERDIR/appdata/prowlarr:/config
    environment:
      PUID: $PUID
      PGID: $PGID
      TZ: $TZ
    labels:
      - "traefik.enable=true"
      ## HTTP Routers
      - "traefik.http.routers.prowlarr-rtr.entrypoints=https"
      - "traefik.http.routers.prowlarr-rtr.rule=Host(`prowlarr.$DOMAINNAME0`)"                                                 
      ## Middlewares
      - "traefik.http.routers.prowlarr-rtr.middlewares=chain-authelia@file"                                                   
      ## HTTP Services
      - "traefik.http.routers.prowlarr-rtr.service=prowlarr-svc"
      - "traefik.http.services.prowlarr-svc.loadbalancer.server.port=9696" 

############################# PVRS
  # Radarr - Movie management
  # Set url_base in radarr settings if using PathPrefix
  radarr:
    image: lscr.io/linuxserver/radarr:latest
    container_name: radarr
    restart: "no"
    networks:
      t2_proxy:
    security_opt:
      - no-new-privileges:true
    volumes:
      - $DOCKERDIR/appdata/radarr:/config
      # Optional. See why MediaCover is mounted as volume https://github.com/htpcBeginner/docker-traefik/discussions/147
      - $DATADIR/temp/docker/appdata/radarr/MediaCover:/config/MediaCover
      - $DATADIR/download/media:/data
      - "/etc/localtime:/etc/localtime:ro"
    environment:
      PUID: $PUID
      PGID: $PGID
      TZ: $TZ
    labels:
      - "traefik.enable=true"
      ## HTTP Routers Auth Bypass
      - "traefik.http.routers.radarr-rtr-bypass.entrypoints=https"
      - "traefik.http.routers.radarr-rtr-bypass.rule=Host(`radarr.$DOMAINNAME0`) && (Headers(`X-Api-Key`, `$RADARR_API_KEY`) || Query(`apikey`, `$RADARR_API_KEY`))"
      - "traefik.http.routers.radarr-rtr-bypass.priority=100"
      ## HTTP Routers Auth
      - "traefik.http.routers.radarr-rtr.entrypoints=https"
      - "traefik.http.routers.radarr-rtr.rule=Host(`radarr.$DOMAINNAME0`)"
      - "traefik.http.routers.radarr-rtr.priority=99"
      ## Middlewares
      - "traefik.http.routers.radarr-rtr-bypass.middlewares=chain-no-auth@file"
      - "traefik.http.routers.radarr-rtr.middlewares=chain-authelia@file"
      ## HTTP Services
      - "traefik.http.routers.radarr-rtr.service=radarr-svc"
      - "traefik.http.routers.radarr-rtr-bypass.service=radarr-svc"
      - "traefik.http.services.radarr-svc.loadbalancer.server.port=7878"

It worked!
So to communicate between containers, the container name and port are sufficient. http://container:port worked for me.
Thanks!

Couple years later this really helped me! Thanks!