forked from georchestra/docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.sendmail.yml
24 lines (22 loc) · 1.02 KB
/
docker-compose.sendmail.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
version: "3.1"
# Complementary services, not part of geOrchestra core.
# This is an alternative proposition to the smtp sink, to manage the emails
# Before using it in production, review the source code https://github.com/pi-geosolutions/docker-sendmail/
# and use at your own risks, under your responsibility !
#
# To use it, you have to change the smtp config in config/default.properties to
# use `sendmail` host
#
# Note: the sendmail service takes some time to configure. In case you have a
# "Connection refused" error, look in the logs and wait for it to say
# "Restarting Mail Transport Agent (MTA): sendmail." before using it
#
# Note2: if sending mails fails silently, you might have filter issue. For
# instance, personal internet boxes might be filtering your traffic and dropping
# the packets (happened to me, I had to disable the filering option of my box)
services:
sendmail:
image: pigeosolutions/sendmail:20210906-1657-6e05771
environment:
HOSTNAME: georchestra-127-0-1-1.traefik.me
restart: always