Run cockroachdb in secure mode using docker compose

Hi, does anyone know how to run cockroachdb in secure mode using docker compose?
I’ve tried using “–certs-dir” instead of “–insecure” in the docker-compose file but it gives me an error saying that it cannot load certificates. Anyone know what I’m supposed to do?

I am investigating same thing