Giter Club home page Giter Club logo

Comments (7)

realashleybailey avatar realashleybailey commented on July 18, 2024 1

I understand how networks works in docker, all my containers are in the same network (proxy) to avoid those problem you comment. But that setup didn't work with traefik, if the solution is to make a fork of the repo, then the wizarr images will not work with kubernetes or other ingress proxies? There been a lot of images that works with reverse proxy without make a clone of a repository. But I understand your approach. Thank you. Regards.

I have added the EXPOSE back to the Docker Image, however it wont be in prod for a couple days, thats why I suggested building the Docker image, it would be a good indication if this is the issue or if its something else, in which case we can get it sorted for before the next release.

I have both a NginxProxyManager installation working with Wizarr, and I know a some of the devs have a Traefik installation working, if you want to speak with some of them about Traefik and there setup then feel free to open a discussion on our Discord.

from wizarr.

realashleybailey avatar realashleybailey commented on July 18, 2024

Could you share relevant configs, like Docker Compose, Traefik config, and what Docker networks there both on

from wizarr.

daurpam avatar daurpam commented on July 18, 2024

These are my docker-compose files for:

  • Traefik
version: '3.4'

services:
  proxy:
    image: traefik:latest
    container_name: proxy
    labels:
      - "com.centurylinklabs.watchtower.enable=true"
    restart: always
    ports:
      - "80:80"
      - "443:443"
      - "2222:2222"
#      - "9080:8080"
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /var/run/docker.sock:/var/run/docker.sock
      - ./traefik.toml:/etc/traefik/traefik.toml
      - ./conf:/etc/traefik
      - ./logs:/logs
      - ./ssl:/ssl
    networks:
      - proxy

networks:
  proxy:
    external: true
  • Wizarr
version: "3.8"
services:
  wizarr:
    container_name: wizarr
    image: ghcr.io/wizarrrr/wizarr:latest-3.4.2
    restart: unless-stopped
    networks:
      - proxy
    volumes:
      - ./config:/data/database
    environment:
      - APP_URL=https://mydomain.com #URL at which you will access and share
      - DISABLE_BUILTIN_AUTH=false #Set to true ONLY if you are using another auth provider (Authelia, Authentik, etc)
      - TZ=Europe/Madrid #Set your timezone here
    labels:
      - traefik.enable=true
      - traefik.http.routers.cronoswiz.entrypoints=web
      - traefik.http.routers.cronoswiz.rule=Host(`mydomain.com`)
      - traefik.http.routers.cronoswiz.middlewares=redirect-https@file
      - traefik.http.routers.cronoswizs.entrypoints=secure
      - traefik.http.routers.cronoswizs.rule=Host(`mydomain.com`)
      - traefik.http.routers.cronoswizs.tls.certresolver=le
      - com.centurylinklabs.watchtower.enable=true

networks:
  proxy:
    external: true

This version of docker-compose.yml works, if change to newest images, I got errors on traefik logs, like:

  • TRAEFIK: LEVEL=ERROR MSG=“FIELD NOT FOUND, NODE: PORT MISSING
    if I don't setup the "..loadbalancer.server.port=5690" value inside the traefik labels or
  • TRAEFIK: LEVEL=ERROR MSG=“FIELD NOT FOUND, NODE: SERVER
    if the previous label is setup inside docker-compose.yml

Hope it helps. Thanks

from wizarr.

realashleybailey avatar realashleybailey commented on July 18, 2024
version: "3.8"
services:
  wizarr:
    container_name: wizarr
    image: ghcr.io/wizarrrr/wizarr:latest-3.4.2
    restart: unless-stopped
    networks:
      - proxy
      - (your_default_docker_network)
    volumes:
      - ./config:/data/database
    labels:
      - traefik.enable=true
      - traefik.http.routers.cronoswiz.entrypoints=web
      - traefik.http.routers.cronoswiz.rule=Host(`mydomain.com`)
      - traefik.http.routers.cronoswiz.middlewares=redirect-https@file
      - traefik.http.routers.cronoswizs.entrypoints=secure
      - traefik.http.routers.cronoswizs.rule=Host(`mydomain.com`)
      - traefik.http.routers.cronoswizs.tls.certresolver=le
      - com.centurylinklabs.watchtower.enable=true

networks:
  proxy:
    external: true

from wizarr.

daurpam avatar daurpam commented on July 18, 2024

Don't understand your comment. The default docker network is "proxy" and it was working til update to the latest image of wizarr for months.

from wizarr.

realashleybailey avatar realashleybailey commented on July 18, 2024

Don't understand your comment. The default docker network is "proxy" and it was working til update to the latest image of wizarr for months.

It's always best to be a member of both the proxy network and the default docker network so that you can effectively speak with other containers using local DNS (this isnt directly todo with your issue, only that it could prevent issues later if you try speaking to a JF or Plex container locally but not part of the same network) you can disregard that change but note it for future if you face issues, I have also removed the pointless env variables that V3 does not need anymore, these can cause potential problems when left there. The EXPOSE map[5690/tcp:{}] wouldn't have thought that would be the issue, we are talking about internal Docker networks, they act much the same to our external ones, however you are welcome to clone the repo and add EXPOSE 5690 to 86th line of this file ./dockerfiles/wizarr/Dockerfile and run docker build -f ./dockerfiles/wizarr/Dockerfile .

from wizarr.

daurpam avatar daurpam commented on July 18, 2024

I understand how networks works in docker, all my containers are in the same network (proxy) to avoid those problem you comment. But that setup didn't work with traefik, if the solution is to make a fork of the repo, then the wizarr images will not work with kubernetes or other ingress proxies? There been a lot of images that works with reverse proxy without make a clone of a repository. But I understand your approach. Thank you.
Regards.

from wizarr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.