Giter VIP home page Giter VIP logo

Comments (10)

demartini avatar demartini commented on May 20, 2024 1

Hi @modem7,

Use a yaml validator like (https://jsonformatter.org/yaml-validator) to check the code's indentation, this help a lot.

from docker-traefik.

htpcBeginner avatar htpcBeginner commented on May 20, 2024

You have indentation issues:

ports:
 - "80:80"
  - "443:443"
  - "8080:8080"

And your traefik logs points this out.

from docker-traefik.

htpcBeginner avatar htpcBeginner commented on May 20, 2024

Plus you are using staging server, which I assume because you are still testing.

from docker-traefik.

modem7 avatar modem7 commented on May 20, 2024

Heya,

Yupper, the staging server is only because I'm still getting everything set up!

Regarding the indentation, it seems that's an odd pastebin glitch.

Here's my notepad++ SS:

image

from docker-traefik.

modem7 avatar modem7 commented on May 20, 2024

Hi @modem7,

Use a yaml validator like (https://jsonformatter.org/yaml-validator) to check the code's indentation, this help a lot.

Hello,

Thank you for the link. The only issue that was happening was with this line here:

- --providers.docker.defaultrule=Host({{ index .Labels "com.docker.compose.service" }}.$DOMAINNAME)

I notice that on github it's different than from the guide with it's formatting.

Here are my latest files:
Traefik log:
https://pastebin.com/bFHMHhKk

Yaml:
https://pastebin.com/qAQX1CV0

image

Unfortunately still getting a 404 when attempting.

from docker-traefik.

Akruidenberg avatar Akruidenberg commented on May 20, 2024

I have this also. Ik set version tag 2.2.1 and its working now!

from docker-traefik.

modem7 avatar modem7 commented on May 20, 2024

I have this also. Ik set version tag 2.2.1 and its working now!

Thanks for the reply!

I gave that a try but unfortunately getting the same thing!

I've even tried commenting out the staging server line to see if it was that, but still no go

from docker-traefik.

modem7 avatar modem7 commented on May 20, 2024

I have this also. Ik set version tag 2.2.1 and its working now!

Would you be able to paste your config in pastebin so I could see where I'm going wrong at all?

from docker-traefik.

randomodbuild avatar randomodbuild commented on May 20, 2024

I see this issue is closed, were you able to fix it @modem7 ?

from docker-traefik.

modem7 avatar modem7 commented on May 20, 2024

I see this issue is closed, were you able to fix it @modem7 ?

Sorry for the delay in replying!

So in my particular case, it was because I was trying to run traefik on a macvlan which was screwing with things. Once I attached it to the bridge network, it worked perfectly.

from docker-traefik.

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.