Comments (18)
I am working on it guys. I promise!
from docker-traefik.
That can certainly happen. I was thinking about it and would have been my next suggestion. I am closing this issue.
from docker-traefik.
if you look at my repository I have a working Traefik 2 config with plex, radarr, sonarr, qbittorrent, piwigo, pihole, and a few others. Not sure if it will help you or not. https://github.com/adradloff/docker-HTPC Its my first git so I'm still learning a bit, the readme may not be so clear as of yet.
from docker-traefik.
@htpcBeginner @adradloff Hi guys are you having issues getting traefik.domain.com working in your setup I am trying to allow access to the traefik ui using the google oauth but it just gives me a server not found error in my browser, I have altered the - "traefik.http.routers.traefik-rtr.middlewares label in the traefik container to include the oauth@file am I missing something must have tried every combination I can think of (apologies for the noob question I am still getting my head around v2) could it be to do with adding the oauth file in the above and then adding another label for the middleware to use chain-oauth@file as as it stands it doesnt work at all when I add the oauth
from docker-traefik.
@Joeharrison94 In my docker-compose file I have this line - "traefik.http.routers.traefik-rtr.middlewares=traefik-headers,middlewares-rate-limit@file,chain-oauth@file" The last part(,chain-oauth@file" ) is what I added to get Google oauth to work. once logged in it works just fine and takes me to the traefik dashboard.
from docker-traefik.
That’s odd it doesn’t work for me, are you using the same yml file as in your repo
from docker-traefik.
Yes I am. I updated it yesterday and rebuilt it on my server, it all is running as it should.
from docker-traefik.
ok so I have identical config to you yet when I launch my compose all apps work except for traefik, it worked once then never again, I also noticed that when I run docker compose up it shows the name of the traefik container is docker_traefik_1 which is very odd, and when I go to traefik.mydomain.co.uk it redirects to trafik.mydomain.co.uk (in a browser that has already passed oauth) but in incognito mode it goes to oauth so im sure that works but it seems something is wrong with my traefik container but I dont know how to remove it and start fresh with just that one container.
from docker-traefik.
Fixed the container name but the rest is still the same
from docker-traefik.
Could you tell me the process on how to refresh the certs and remove traefik and readd it as it isn’t working as I mentioned before
from docker-traefik.
docker stop traefik - stops the container
docker rm traefik - removes the container
rm traefik2/acme/acme.json - removes traefik certificates
touch traefik2/acme/acme.json - recreates a blank file
chmod 600 traefik2/acme/acme.json - give it correct permissions to traefik
If you want to test just traefik create a new yml file with only the traefik and oauth. make sure you have the network section too.
Ensure you un-comment out - "traefik.http.routers.traefik-rtr.tls.certresolver=dns-cloudflare" to ensure it recreates your certificates in the acme.json file.
docker-compose -f filename.yml up -d
After first run re comment it out and re run your yml file to ensure wildcard certs.
docker-compose -f filename.yml up -d
from docker-traefik.
Ok no problem I’ll give it a whirl tomorrow thank you, do you think it is an issue that sabnzbd traefik port is 8080 also ? And what could cause the weird browser redirection to trafik instead of traefik
from docker-traefik.
the weird redirection would most likely be a misspelling in the config.
As for the port I would try a different port and see if that works.
from docker-traefik.
ok so i did all of the above deleted the container, and acme json uncommented the line and changed the port yet im still getting a redirect to trafik, there is no reference of this in any config, I think it is caching it somewhere how can I fix this :/
from docker-traefik.
also if i go to the local ip and 9090 im getting a 404 error
from docker-traefik.
thats the port i chose instead of 8080
from docker-traefik.
@Joeharrison94 when you access locally (local IP) are you using HTTP or https?
I would strong suggest you to not have any other apps running. First get your traefik 2 and dashboard up and running. Check acme.json to make sure certs have been pulled.
Then start adding other apps.
PS: I am writing a Traefik 2 guide. However, it is at least 1 week away from publication. Half way through it now.
EDIT: Are you using your browser in private/incognito mode? your browser will cache things which definitely will cause issues. So during testing, always use private/incognito mode.
from docker-traefik.
I’ve cracked it! Something was wrong in the image files I deleted the image and pulled it again and used my old config with the uncommented the line and hey presto :D hopefully it carries on working when I down it to comment out the line
from docker-traefik.
Related Issues (20)
- READ BEFORE OPENING ISSUES
- env in rule.yml HOT 1
- Jellyfin image does not respect PUID and PGID
- CLOUDFLARE_EMAIL variable from .env file used instead of secrets cf_email HOT 2
- no configuration file provided: not found HOT 1
- Mismatching values on chain-basic-auth HOT 1
- Synology DSM 7 - fails to free port 80 HOT 1
- middlewares.yml - (<unknown>): did not find expected key while parsing a block mapping at line 22 column 9 HOT 1
- Wrong folder in 'touch' description HOT 2
- 404 on all pages HOT 3
- possible working metube config for traefik on portainer HOT 1
- Traefik Plugins HOT 1
- SSL handshake failed for my entire setup after following Crowdsec guide
- Secrets can't be loaded HOT 1
- Traefik accesslog filters and crowdsec
- queue not loaded after docker container restart HOT 1
- synology wordpress setup error
- Heimdall + Traefik: error fetching default icon while creating new site
- ERROR: for traefik user specified IP address is supported only when connecting to networks with user configured subnets.
- Shared Extension Fields between include files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-traefik.