Overview
Infrastructure
My go-to setup for running infrastructure services locally is docker-compose. I’m using postgres as a database and grafana for some dashboards.
- docker-compose setup for infrastructure
- postgres
- grafana
Since I also developed a dashboard for the agents and wanted to reuse some helpers, I added profiles to docker-compose. If I want to start the stack for the agent, I run this command:
docker compose --profile agent up
agent architecture
I like coding in a functional style and use cats-effect as the runtime effect system. I had trouble with the openapi generator for scala, since it didn’t work in some cases or didn’t produce code that matches my coding style.