summaryrefslogtreecommitdiff
path: root/test/docker/docker-compose.yml
blob: e1f24b3fef73ebd3344d1c0e999cae58171bc0ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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