-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
40 lines (40 loc) · 1.03 KB
/
compose.yaml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
services:
postgres:
image: 'postgres:latest'
environment:
- 'POSTGRES_DB=mydatabase'
- 'POSTGRES_PASSWORD=secret'
- 'POSTGRES_USER=myuser'
ports:
- '5432:5432'
networks:
- backend
greenmail:
image: greenmail/standalone:latest
environment:
- JAVA_OPTS=-Dgreenmail.verbose
ports:
- 3025:3025 # SMTP
- 3110:3110 # POP3
- 3143:3143 # IMAP
- 3465:3465 # SMTPS
- 3993:3993 # IMAPS
- 3995:3995 # POP3S
- 8001:8080 # API
networks:
- backend
roundcube:
image: roundcube/roundcubemail:latest
depends_on:
- greenmail
ports:
- 8000:80
environment:
- ROUNDCUBEMAIL_DEFAULT_HOST=greenmail # IMAP server - tls:// prefix for STARTTLS, ssl:// for SSL/TLS
- ROUNDCUBEMAIL_DEFAULT_PORT=3143 # IMAP port
- ROUNDCUBEMAIL_SMTP_SERVER=greenmail # SMTP server - tls:// prefix for STARTTLS, ssl:// for SSL/TLS
- ROUNDCUBEMAIL_SMTP_PORT=3025
networks:
- backend
networks:
backend: