Hey Patrick,
Thanks for the question. The right side of the input refers to what is set inside the docker container this must match the port for the application. The left side refers to what is exposed.
So say for you instance you wanted to use port 8282 instead of port 80 you could do something like this.
ports:
- "8282:80"
- "25:25"
- "110:110"
- "143:143"
- "465:465"
- "587:587"
- "993:993"
- "995:995"
- "5222:5222"
Then you go to localhost:8282 you will reach SmarterMails HTTP port.
One thing that you will also notice is that I removed the 443 SSL ports. This is ok to do as it just means that they will not be exposed from the container.
Please let me know if this makes sense.
Thanks,
Zach Sylvester
Software Developer
SmarterTools Inc.
www.smartertools.com