From 1146423751481eb5b15f0d1ec597481da08ea50b Mon Sep 17 00:00:00 2001 From: Thomas VIAL Date: Sat, 2 May 2015 19:06:20 +0200 Subject: [PATCH] Added docker-compose.yml example file. --- docker-compose.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..7b89291f --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,20 @@ +mail: + # image: tvial/docker-mailserver + build: . + hostname: mail + domainname: my-domain.com + ports: + - "25:25" + - "143:143" + - "587:587" + - "993:993" + environment: + docker_mail_domain: "my-domain.com" + # format is user@domain.tld|clear_password + docker_mail_users: + - "username1@my-domain.com|username1password" + - "username2@my-domain.com|username2password" + # format is user@domain.tld|list,of,aliases,comma,separated + docker_mail_aliases: + - "username1@my-domain.com|alias1,alias2,alias3" + - "username2@my-domain.com|alias4" \ No newline at end of file