Comment on
What do you use for alerting?
Reply in thread
Why you gotta call me out like this?
Comment on
What do you use for alerting?
Reply in thread
Why you gotta call me out like this?
Comment on
Kubernetes? docker-compose? How should I organize my container services in 2024?
A plug for the pro Kubernetes crowd:
I run microk8s on a 3 node cluster, using FluxCD to deploy and manage my services. I also work with Kubernetes at work, so I'm very familiar with the concepts. But I will never use anything else.
If you want maximum control and flexibility, learn Kubernetes. For a lot of people (myself included) it's overkill, but IMO it's the best.
My main gripe with docker-compose, which is what I used to use, is that service changes require access to the machine. I have to run commands on the host to alter services. With Kubernetes, and more precisely a GitOps model, you can just make a commit to a git repo and it will roll out.
Comment on
Connection to server at "127.0.0.1", port 5432 failed: Connection refused
Reply in thread
Sorry, I misread your compose file. It should be the name of the PG container, so db:5432
Comment on
docker compose reverse port map without using Host network driver (--net=host)
Comment on
Connection to server at "127.0.0.1", port 5432 failed: Connection refused
The python container should connect on postgres:5432 not localhost. To the web container, localhost is itself, not the physical host running docker
Comment on
Connection to server at "127.0.0.1", port 5432 failed: Connection refused