What is the correct value for <traefik-domain> ? #561

Open
opened 2024-01-30 20:08:23 +00:00 by einarpersson · 2 comments

When following the tutorial, and deploying traefik as the first app, I was not sure whether the domain should be the "server domain" (since traefik is a reverse proxy) or if it was regarding the dashboard app for traefik. Should it be mydomain.org or traefik.mydomain.org? Or does it not matter?

I think I was extra confused by the fact that I was running server side, so I had until then never entered my domain anywhere (which I guess I had, if I had run abra from my laptop).

Docs: Could this be clarified? Related: what is the role of "default" in foo.default? Is it a special keyword or just a dummy container?

CLI: Could you supplya sample values eg. traefik.yourdomain.tld instead of to make it even more explicit?

When following the tutorial, and deploying traefik as the first app, I was not sure whether the domain should be the "server domain" (since traefik is a reverse proxy) or if it was regarding the dashboard app for traefik. Should it be mydomain.org or traefik.mydomain.org? Or does it not matter? I think I was extra confused by the fact that I was running server side, so I had until then never entered my domain anywhere (which I guess I had, if I had run abra from my laptop). Docs: Could this be clarified? Related: what is the role of "default" in foo.default? Is it a special keyword or just a dummy container? CLI: Could you supplya sample values eg. traefik.yourdomain.tld instead of <traefik-domain> to make it even more explicit?
Owner

Yeh this is true - a lot of implicit Traefik related knowledge floating up in the air...

I think "default" is some sort of reserved word in Docker for the default context (what is used to create a connection to a local or remote Docker daemon). I am not sure if this is also a special keyword in the Traefik world.

Yeh, with the domain for Traefik, there are several options. And I really don't know how that interacts with the server-side deployment method. There is a very little documented method of disabling Traefik requiring a domain name (compose.headless.yml in the recipe?).

Definitely needs a pass on clearing all this up, thanks for raising!

Yeh this is true - a lot of implicit Traefik related knowledge floating up in the air... I think "default" is some sort of reserved word in Docker for the default context (what is used to create a connection to a local or remote Docker daemon). I am not sure if this is also a special keyword in the Traefik world. Yeh, with the domain for Traefik, there are several options. And I really don't know how that interacts with the server-side deployment method. There is a very little documented method of disabling Traefik requiring a domain name (`compose.headless.yml` in the recipe?). Definitely needs a pass on clearing all this up, thanks for raising!
decentral1se added the
documentation
label 2024-01-31 08:02:11 +00:00
Owner

.. if it was regarding the dashboard app for traefik.

Yes, this. As @decentral1se says, Traefik doesn't need a domain specified at all.

I wonder if it makes sense to break the dashboard out into a separate compose file; I can't imagine circumstances where we'd want to set DASHBOARD_ENABLED=false without "headless" mode?

Docs: Could this be clarified? Related: what is the role of "default" in foo.default? Is it a special keyword or just a dummy container?

Seems related to #566, in that it's another case of unusual value for server domain leading to unhelpful defaults for app domains.

> .. if it was regarding the dashboard app for traefik. Yes, this. As @decentral1se says, Traefik doesn't need a domain specified at all. I wonder if it makes sense to break the dashboard out into a separate compose file; I can't imagine circumstances where we'd want to set `DASHBOARD_ENABLED=false` without "headless" mode? > Docs: Could this be clarified? Related: what is the role of "default" in foo.default? Is it a special keyword or just a dummy container? Seems related to #566, in that it's another case of unusual value for server domain leading to unhelpful defaults for app domains.
basebuilder added this to the Improvements to Websites milestone 2024-02-21 20:17:19 +00:00
decentral1se changed title from Docs: What is the correct value for <traefik-domain> ? to What is the correct value for <traefik-domain> ? 2024-03-27 06:19:45 +00:00
Sign in to join this conversation.
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#561
No description provided.