Skip to content

Commit 479ae0d

Browse files
committed
Merge branch 'feature/custom-domains-dms' into staging
2 parents 9ebd27c + 2093acd commit 479ae0d

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

mailserver/.env.sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ DAEMON_IMAGE=/mailserver/daemon
44

55
DMS_HOSTNAME=mail.example.com
66
DMS_IP=
7+
DAEMON_IP=
78
NET_SUBNET=
89
NET_GATEWAY=
910
DOMAIN=example.com

mailserver/compose.deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ services:
6666
restart: always
6767
networks:
6868
net:
69+
ipv4_address: ${DAEMON_IP}
6970

7071
networks:
7172
net:
73+
driver: bridge
74+
ipam:
75+
config:
76+
- subnet: ${NET_SUBNET}
77+
gateway: ${NET_GATEWAY}

0 commit comments

Comments
 (0)