Docker mail configutation

Is it possible to configure mail through docker-compose.yml