portainer-compose icon indicating copy to clipboard operation
portainer-compose copied to clipboard

Use Traefik to proxy Edge agent traffic on :8000 to portainer

Open robdyke opened this issue 5 years ago • 6 comments

Fix for #24

  • added Traefik listener on :8000
  • added TCP router to Portainer on :8000

robdyke avatar Nov 18 '20 23:11 robdyke

Hi @xe-nvdk This doesn't expose portainer:8000 to the interwebs, it exposes traefik:8000 which routes the TCP to portainer.

(yes, I've had trouble setting up portainer + edge with HTTPS only exposed)

robdyke avatar Nov 19 '20 09:11 robdyke

Hi @xe-nvdk This doesn't expose portainer:8000 to the interwebs, it exposes traefik:8000, which routes the TCP to portainer.

(yes, I've had trouble setting up portainer + edge with HTTPS only exposed)

What problems you had?

Can you make an RP with an alternative name of the file? My idea is have have both options and users pick what fits best for them.

xe-nvdk avatar Nov 19 '20 09:11 xe-nvdk

@xe-nvdk happy with this PR?

robdyke avatar Dec 10 '20 12:12 robdyke

Looks good to me. Because I'm not part of the Portainer team anymore. Let's wait for them to merge this PR.

xe-nvdk avatar Dec 10 '20 12:12 xe-nvdk

Trying to figure out what do we need to make progress on this one, it seems that @baskinsy requested some changes that would need to be added here, would you agree @robdyke ?

Also keen to get your opinion on that one too @xe-nvdk :)

deviantony avatar Jan 19 '21 03:01 deviantony

I'll have another look at this and try to incorporate the suggestion about the host rule

On Tue, 19 Jan 2021, 03:59 Anthony Lapenna, [email protected] wrote:

Trying to figure out what do we need to make progress on this one, it seems that @baskinsy https://github.com/baskinsy requested some changes that would need to be added here, would you agree @robdyke https://github.com/robdyke ?

Also keen to get your opinion on that one too @xe-nvdk https://github.com/xe-nvdk :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/portainer/portainer-compose/pull/25#issuecomment-762586944, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHF5AH7LDYI6XI2LXVMKMDS2T7TVANCNFSM4T2U74FQ .

robdyke avatar Jan 19 '21 13:01 robdyke