-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
39 lines (35 loc) · 1.02 KB
/
docker-compose.yml
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
version: '3.8'
name: tickets-backend
services:
mongodb:
container_name: tickets-backend-mongodb
image: mongo:5.0.21
ports:
- '27017:27017'
environment:
- MONGO_INITDB_DATABASE=tickets
volumes:
- mongodb_data:/data/db
greenmail:
image: greenmail/standalone:1.6.14
container_name: tickets-backend-greenmail
environment:
- GREENMAIL_OPTS=-Dgreenmail.hostname=0.0.0.0 -Dgreenmail.setup.test.smtp -Dgreenmail.setup.test.imap -Dgreenmail.auth.disabled
ports:
- "33025:3025" # SMTP
- "33143:3143" # IMAP
roundcube:
image: roundcube/roundcubemail:1.6.1-apache
container_name: tickets-backend-roundcube
depends_on:
- greenmail
ports:
- "38000:80"
- "39000:9000"
environment:
ROUNDCUBEMAIL_DEFAULT_HOST: greenmail # IMAP server
ROUNDCUBEMAIL_DEFAULT_PORT: 3143 # IMAP port
ROUNDCUBEMAIL_SMTP_SERVER: greenmail # SMTP server
ROUNDCUBEMAIL_SMTP_PORT: 3025 # SMTP port
volumes:
mongodb_data: