traefik
This post is a response to a comment from one of my subscribers, who suggested the topic for the next post:
… how to set up Docker so the LB routes straight into the right containers
How do I see the task?
This post is a response to a comment from one of my subscribers, who suggested the topic for the next post:
… how to set up Docker so the LB routes straight into the right containers
How do I see the task?
When developing locally, many people skip simulating https and run their services over http.
Here’s the task:
https with a valid certificate;Many of us, back in the day, did web development, and to develop and test the next project locally we’d add another
entry to /etc/hosts along the lines of:
127.0.0.1 next-project.tld
“1024 lashes for anyone using http.DefaultClient in their code” — that’s the kind of “joke” you hear at our
standups. The problem is that the defaults don’t set any timeouts. There’s a great article on the topic on the Cloudflare blog1.
Given:
GitLab, most likely deployed inside an internal network;Go package that needs to be installed as a dependency.Given:
Jetbrains Space1.Go.Given:
OpenAPI.The task:
The standard Go tooling doesn’t print a summary of your tests. But on a large project, when you need to see the overall picture, that kind of summary is useful. Say you’re bringing your own fork up to date with upstream and you
need to gauge the size of the problems caused by merging the changes.