• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: July 5th, 2023

help-circle
  • I use Traefik because it solved a problem with the static configuration approach which Nginx had / still has.

    In a scenario with multiple services behind Nginx, taking one down or replacing an instance is massive headache. I tried to script around it, but basically the Nginx container would choke on the fact that a service does not [yet / anymore] exist, and together with the docker networking stack it turned out to be an insurmountable problem.

    Traefik otoh discovers services based on (in my case) labels on the docker containers running locally. And then updates the configuration on the fly.

    Basically the static approach to configuration resulted in massive headache when I needed to enable zero downtime deployments and updates behind Nginx. And Traefik handled it perfectly without dropping a single request.

    Nowadays I manage my dynamic configuration with ansible and update the values in for the file-based configuration provider with a playbook. I don’t need a UI to manage my inventory, I use ansible for that. Traefik handles the rest perfectly.


  • Traefik does auto discovery and you can register different configuration providers. Don’t need docker? Then don’t use the docker label-based provider. It is really flexible and has sensible defaults. Other than a few quirks in the basic auth support I haven’t had any problems. And at work it powers our globally utilized infrastructure without any hiccups.


  • I’m also using ansible everywhere in my home / private infra and lab. Occasionally I get slightly annoyed that I have to open an inventory file or a role var to find something. But in general I’m so grateful that there is one place to find this information, and the same is used to set up everything from scratch.

    Is it extra work to write the roles and playbooks? Yes. Does it solve the documentation and automation problem completely? Absolutely. 10/10 would recommend. And for the record, most things I host run on containers, but the volumes and permission management alone make it worth your time.







  • Alight, thanks. Let’s see if I can explain this.

    I couldn’t find native support for the following:

    • snap windows left and right with keyboard shortcuts (Win Key + Arrows on Windows)
    • set a default output device (eg speakers), but select apps (Spotify for example) should output through my USB DAC.
    • I can tab between applications, but the only way to tab between all active Windows was with a third party app. It mostly works fine, but has a few quirks.

  • So maybe I missed it or we are talking about the same things. Can you point me at the right thing to look for? Since you seem to be aware how these work natively.

    • snapping windows by keyboard shortcuts (Win Key + Arrows on Windows)
    • I want to have one output device by default (eg speakers), but select apps (Spotify for example) should output through my USB DAC.
    • I can tab between applications no problem, but when I looked up how to change between windows of the same app (eg text editors), I came up with nothing. How is the shortcut called?

    Cheers



  • MacOS is extremely barebones. Almost two years ago I got a MacBook to work on a customer project. Until then I’ve only been on Linux and Windows 10. And boy was I in for a surprise. I kind of got used to it, but let me give you a few examples.

    You want to tab between windows and not apps? Better pay for an app. You want to snap your windows left or right? An app. You want to control which app outputs to which audio device? You guessed it - an app. Clipboard? App. Configure mouse acceleration? An app (linear mouse).

    I mean, the OS is polished and looks great. And if all you do is swoosh windows left and right in Starbucks, that’s all you need. But for anyone else it’s just sad how little it supports out of the box.