1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 01:36:23 +00:00
Files
geek-cookbook/docs/recipes/autopirate/mylar.md
David Young f22dd8eb50 Add authentik, tidy up recipe-footer
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2023-10-31 14:37:29 +13:00

2.1 KiB

title, description, slug
title description slug
How to run Mylar3 in Docker Mylar is a tool for downloading and managing digital comic books, and is a valuable addition to the docker-swarm AutoPirate stack Mylar

Mylar3 in Autopirate Docker Swarm stack

{% include 'try-in-elfhosted.md' %}

!!! warning This is not a complete recipe - it's a component of the autopirate "uber-recipe", but has been split into its own page to reduce complexity.

Mylar is a tool for downloading and managing digital comic books.

Mylar Screenshot

Inclusion into AutoPirate

To include Mylar in your AutoPirate stack, include something like the following example in your autopirate.yml docker-compose v3 stack definition file:

mylar:
  image: lscr.io/linuxserver/mylar3:latest
  env_file : /var/data/config/autopirate/mylar.env
  volumes:
   - /var/data/autopirate/mylar:/config
   - /var/data/media:/media
  networks:
  - internal
  deploy:
    labels:
      # traefik
      - traefik.enable=true
      - traefik.docker.network=traefik_public

      # traefikv1
      - traefik.frontend.rule=Host:mylar.example.com
      - traefik.port=8090
      - traefik.frontend.auth.forward.address=http://traefik-forward-auth:4181
      - traefik.frontend.auth.forward.authResponseHeaders=X-Forwarded-User
      - traefik.frontend.auth.forward.trustForwardHeader=true        

      # traefikv2
      - "traefik.http.routers.mylar.rule=Host(`mylar.example.com`)"
      - "traefik.http.routers.mylar.entrypoints=https"
      - "traefik.http.services.mylar.loadbalancer.server.port=8090"
      - "traefik.http.routers.mylar.middlewares=forward-auth"

--8<-- "premix-cta.md" --8<-- "recipe-autopirate-toc.md" {% include 'recipe-footer.md' %}

[^2]. If you intend to configure Mylar to perform its own NZB searches and push the hits to a downloader such as SABnzbd, then in addition to configuring the connection to SAB with host, port and api key, you will need to set the parameter host_return parameter to the fully qualified Mylar address (e.g. http://mylar:8090).