Gitea Mailer with Docker

Is it possible to configure gitea mailer through docker-compose.yml or docker environment?