Adafruit sells a lot of air quality sensors that can work with RasPi, Arduino, etc. They also have lots of guides. So I'd just go on there and take a look. My setup isn't really unique. I used this link: https://www.balena.io/blog/build-an-environment-and-air-qual... as my guide for setting up something with logging and graphing. I didn't do a full Docker-fied Balena cloud deal; I just replicated the stack manually and used their guide as inspiration. It's overkill, but was quick and works fine.
Do you have any resources on how to set up something like that?