Merge pull request 'flora-6: enable gitea mail notifications' (#215) from infra-gitea-enable-mail-notifications into infra
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #215 Reviewed-by: b12f <hello@benjaminbaedorf.eu>
This commit is contained in:
commit
a4e6dcdf16
|
@ -33,8 +33,9 @@
|
||||||
settings = {
|
settings = {
|
||||||
mailer = {
|
mailer = {
|
||||||
ENABLED = true;
|
ENABLED = true;
|
||||||
MAILER_TYPE = "smtp";
|
PROTOCOL = "smtps";
|
||||||
HOST = "mx2.greenbaum.cloud:465";
|
SMTP_ADDR = "mx2.greenbaum.cloud";
|
||||||
|
SMTP_PORT = 465;
|
||||||
FROM = ''"pub.solar git server" <gitea@pub.solar>'';
|
FROM = ''"pub.solar git server" <gitea@pub.solar>'';
|
||||||
USER = "admins@pub.solar";
|
USER = "admins@pub.solar";
|
||||||
};
|
};
|
||||||
|
@ -49,6 +50,7 @@
|
||||||
# uncomment after initial deployment, first user is admin user
|
# uncomment after initial deployment, first user is admin user
|
||||||
# required to setup SSO (oauth openid-connect, keycloak auth provider)
|
# required to setup SSO (oauth openid-connect, keycloak auth provider)
|
||||||
service.ALLOW_ONLY_EXTERNAL_REGISTRATION = true;
|
service.ALLOW_ONLY_EXTERNAL_REGISTRATION = true;
|
||||||
|
service.ENABLE_NOTIFY_MAIL = true;
|
||||||
session.COOKIE_SECURE = lib.mkForce true;
|
session.COOKIE_SECURE = lib.mkForce true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue