-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmailserver.dockerapp
More file actions
61 lines (53 loc) · 1.17 KB
/
mailserver.dockerapp
File metadata and controls
61 lines (53 loc) · 1.17 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Metadata
version: "1.5.10"
name: mailserver
description: "Email server for Nimbus Platform"
namespace: "admpresales"
maintainers:
- name: Jason Corlett
email: jason.corlett@microfocus.com
targets:
swarm: false
kubernetes: false
---
# Compose
version: '3.5'
services:
mailserver:
image: "${MAIL_IMAGE}:${MAIL_TAG}"
container_name: "${MAIL_CONTAINER_NAME}"
restart: "$RESTART"
networks:
demo-net:
extra_hosts:
- "nimbusserver.aos.com:172.50.0.1"
- "nimbusserver:172.50.0.1"
ports:
- "${SMTP_PORT}:3025"
- "${IMAP_PORT}:3143"
webmail:
image: "${WEBMAIL_IMAGE}:${WEBMAIL_TAG}"
container_name: "${WEBMAIL_CONTAINER_NAME}"
restart: "$RESTART"
networks:
demo-net:
extra_hosts:
- "nimbusserver.aos.com:172.50.0.1"
- "nimbusserver:172.50.0.1"
ports:
- "${WEBMAIL_PORT}:80"
networks:
demo-net:
external: true
---
# Default settings
MAIL_TAG: "1.5.10"
MAIL_CONTAINER_NAME: "mailserver"
MAIL_IMAGE: "greenmail/standalone"
SMTP_PORT: 3025
IMAP_PORT: 3143
WEBMAIL_TAG: "1.3.9"
WEBMAIL_CONTAINER_NAME: "webmail"
WEBMAIL_IMAGE: "admpresales/webmail"
WEBMAIL_PORT: 8143
RESTART: "no"