19 Commits

Author SHA1 Message Date
Matt Farmer
3cf02f9904 feat(traefik-vhosts): support custom entrypoint for API/dashboard
Add two new global-only properties to configure a dedicated Traefik entrypoint
for the API and dashboard, enabling network isolation on private interfaces.
Includes comprehensive test coverage for property management and compose config.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-28 18:07:07 -05:00
Jose Diaz-Gonzalez
df8b725081 feat: add support for dns-01 challenge mode when using traefik
Closes #6423
2026-01-07 01:16:05 -05:00
Jose Diaz-Gonzalez
830f2f2b01 chore: remove references to version in compose files
This is now deprecated and causes a warning to be raised.
2024-09-22 01:38:44 -04:00
Jose Diaz-Gonzalez
e5bf88a14d feat: upgrade docker compose version in use
Also update the pinned docker version, which has long been outdated.
2024-08-25 23:33:02 -04:00
Bastian Hoyer
b94f6cd9d0 set exposedByDefault to false in traefik to only expose docker containers that are enabled by label 2024-03-03 08:24:44 +01:00
Jose Diaz-Gonzalez
f7c46a46f4 fix: mount the traefik data directory instead of the acme.json file when starting traefik
Without this change, Docker - at least on arm64 - appears to mount the file as 0755 instead of 0600. We can trick docker by mounting the folder and then referencing _that_ instead.
2023-08-05 10:58:57 -04:00
Alexey Kharchenko
4d41cbd3ab Hide empty labels section 2023-07-17 18:14:57 +05:30
Alexey Kharchenko
3bbf5370da Fix traefik vhosts compose template
`auth` middleware label should only be added if `TRAEFIK_BASIC_AUTH` set
2023-07-13 12:01:20 +05:30
Stefan Mielke
31ec6f4605 fix redirect from http to https 2023-07-03 09:31:10 +02:00
Jose Diaz-Gonzalez
02a89d01f9 fix: respect dashboard disabling properties in traefik
Closes #5855
2023-05-28 15:01:01 -04:00
James Muscat
1c5bf6a52b Correctly include auth middleware on api router.
Resolves #5536.
2022-12-21 22:36:14 +00:00
Adam Cooper
a60ba4e2d4 Wrap dashboard routing definition in conditional
This ensures that we don't define the routes for the api unless we've enabled it.
2022-11-11 21:58:16 +00:00
Jose Diaz-Gonzalez
16dd0adb35 fix: drop extra quote on LE server 2022-08-18 13:10:47 -04:00
Jose Diaz-Gonzalez
9c6380f07d chore: update compose version 2022-08-10 13:56:29 -04:00
Jose Diaz-Gonzalez
ea7299eef7 fix: do not expose port 443 if no letsencrypt email is set 2022-08-10 13:56:18 -04:00
Jose Diaz-Gonzalez
d5085d3156 feat: expose letsencrypt-server property for traefik plugin 2022-08-10 13:56:06 -04:00
Jose Diaz-Gonzalez
12d5bc4649 refactor: use http and https as traefik entrypoints
This makes it a bit more clear as to where things are being redirected for web containers.

Also gate the https entrypoint behind the letsencrypt integration.
2022-08-10 05:20:54 -04:00
Jose Diaz-Gonzalez
bebb05268c feat: restart traefik automatically unless stopped 2022-08-10 05:20:54 -04:00
Jose Diaz-Gonzalez
8fe122ffbd feat: implement the traefik plugin
This plugin uses a docker-compose based Traefik installation in conjunction with injected container labels to route requests. It only exposes the minimal necessary for routing traffic to docker containers. Users wishing to customize further labels may explore using the docker-options plugin to attach additional labels during the 'deploy' phase.
2022-08-10 05:20:54 -04:00