summaryrefslogtreecommitdiff
path: root/test/docker
diff options
context:
space:
mode:
Diffstat (limited to 'test/docker')
-rw-r--r--test/docker/docker-compose.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/docker/docker-compose.yml b/test/docker/docker-compose.yml
new file mode 100644
index 0000000..e1f24b3
--- /dev/null
+++ b/test/docker/docker-compose.yml
@@ -0,0 +1,26 @@
+version: "3"
+
+# docker run -t -i -e GREENMAIL_OPTS='-Dgreenmail.setup.test.all -Dgreenmail.hostname=0.0.0.0 -Dgreenmail.auth.disabled -Dgreenmail.verbose' -p 3025:3025 -p 3110:3110 -p 3143:3143 -p 3465:3465 -p 3993:3993 -p 3995:3995 -p 8080:8080 greenmail/standalone
+
+services:
+ mail1:
+ image: greenmail/standalone
+ ports:
+ - "3025:3025" #smtp
+ - "3110:3110" #pop3
+ - "3143:3143" #imap
+ - "3465:3465" #smtps
+ - "3993:3993" #imaps
+ - "3995:3995" #pop3s
+ - "8080:8080" #api
+
+ mail2:
+ image: greenmail/standalone
+ ports:
+ - "30252:3025" #smtp
+ - "31102:3110" #pop3
+ - "31432:3143" #imap
+ - "34652:3465" #smtps
+ - "39932:3993" #imaps
+ - "39952:3995" #pop3s
+ - "8082:8080" #api