i have downloaded mailcow in test environment and it is working properly, i would need to ask for your help to configure mail cow as below to improve scalability and reliability in production environment:
currently i have installed mailcow on EC2 instance (Ubuntu) using https://docs.mailcow.email/i_u_m/i_u_m_install/#installation-via-script-standalone, for the production environment i would need to split the compose docker on different EC2 instances as follows (example in picture):
1st EC2: SOGo Webmail Frontend
2nd EC2: Mail Server: Backend
3rd EC2: MySQL Server or AWS RDS
can you tell me how to split the docker compose and how to connect the containers to each other via their private/public ip’s?