2 ms·
You can set this up with even less customization. Here's my snippet for doing so [0]. In this way, the default rule for all containers that are part of compose
by CGamesPlay 3y ago
You can set this up with even less customization. Here's my snippet for doing so [0]. In this way, the default rule for all containers that are part of compose projects gets assigned a subdomain (service.compose-stack.lvh.me). Note that we also expose the traffic admin interface on `lvh.me`, which is perhaps a little more convenient than using `traefik.me`.
However, even with my tweaks, the overall solution is still limited. Because it's not on "localhost", the browser considers it an "insecure context" unless you also set up local HTTPS.
[0] https://github.com/CGamesPlay/dotfiles/blob/13659d19ca899cea8b7afcfbdc26ad693fd7c006/files/.local/bin/.argc#L43 https://github.com/CGamesPlay/dotfiles/blob/13659d19ca899cea...
- globular-toast 3y agoThat's really nice and combined with the environment variable solutions suggested by others could remove the need for the override file entirely. Also like the setting of a longer timeout which is suitable for dev. In theory traefik.me can be set up with HTTPS but I haven't tried it yet.