techno-tim / techno-tim.github.io

Open Source, Community Driven, Documentation for Techno Tim YouTube Videos/ Complete with examples for all your copy pasta needs!

Home Page:https://technotim.live

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

traefik: pass client ip to container

Christophe999s opened this issue · comments

Thank you for the informative video's you keep posting!
I was having some issues with the client ip not being passed to my bitwarden container, and made these adjustments to the traefik docker-compose file:

version: '3.3'
     - target: 80
       published: 80
       protocol: tcp
       mode: host
     - target: 443
       published: 443
       protocol: tcp
       mode: host

Found the solution on https://dockerswarm.rocks/traefik/#getting-the-client-ip