Integrate KanBoard with postfix
This commit is contained in:
parent
6015df24b3
commit
09dfcd6751
@ -3,6 +3,7 @@
|
||||
SOURCE_DIR=$(realpath $(dirname "${0}"))/kanboard
|
||||
|
||||
# Check prerequisites
|
||||
docker image ls | grep -q postfix || $(realpath $(dirname "${0}"))/postfix.sh
|
||||
docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
|
||||
|
||||
# Build Docker container
|
||||
|
@ -4,7 +4,7 @@ description="KanBoard docker container"
|
||||
|
||||
depend() {
|
||||
need docker net
|
||||
use dns logger netmount
|
||||
use dns logger netmount postfix
|
||||
after postgres
|
||||
}
|
||||
|
||||
@ -12,6 +12,7 @@ start() {
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name kanboard \
|
||||
-h kanboard \
|
||||
--link postfix \
|
||||
--link postgres \
|
||||
-p 127.0.0.1:8009:8009 \
|
||||
-v /srv/kanboard/data:/srv/kanboard/data/files \
|
||||
|
@ -41,10 +41,10 @@ define('MAIL_CONFIGURATION', true);
|
||||
define('MAIL_FROM', 'kanboard@spotter.ngo');
|
||||
|
||||
// Mail transport available: "smtp", "sendmail", "mail" (PHP mail function), "postmark", "mailgun", "sendgrid"
|
||||
define('MAIL_TRANSPORT', 'sendmail');
|
||||
define('MAIL_TRANSPORT', 'smtp');
|
||||
|
||||
// SMTP configuration to use when the "smtp" transport is chosen
|
||||
define('MAIL_SMTP_HOSTNAME', '');
|
||||
define('MAIL_SMTP_HOSTNAME', 'postfix');
|
||||
define('MAIL_SMTP_PORT', 25);
|
||||
define('MAIL_SMTP_USERNAME', '');
|
||||
define('MAIL_SMTP_PASSWORD', '');
|
||||
|
Loading…
Reference in New Issue
Block a user