You need to add volume for config file, where you will able to add smtp configuration.
Like this
volumes:
- ./content:/var/lib/ghost/content
- ./config.production.json:/var/lib/ghost/config.production.json
You can modify it accordingly.
Question is already asked here. How to setup basic SMTP for Ghost