minor patch before moving to cloudflare

This commit is contained in:
Lieuwe Leene 2024-09-21 11:53:52 +02:00
parent c93b4bb98b
commit 274912d318
Signed by: lieuwe
GPG Key ID: 8982082E42412D77
2 changed files with 7 additions and 4 deletions

View File

@ -7,7 +7,7 @@ networks:
x-mail:
&defaults
restart: always
restart: unless-stopped
env_file: local.env
networks:
- internalnet
@ -195,6 +195,7 @@ services:
- mail_data:/var/mail/:z
- mail_state:/var/mail-state/:z
- mail_config:/tmp/docker-mailserver/:z
- ./config/mail/postfix-policyd-spf.conf:/etc/postfix-policyd-spf-python/policyd-spf.conf:ro,z
cap_add:
- NET_ADMIN

View File

@ -52,8 +52,10 @@ GITEA__server__HTTP_PORT = 3000
GITEA__server__DISABLE_SSH = false
GITEA__server__SSH_PORT = 222
GITEA__server__SSH_LISTEN_PORT = 222
GITEA__server__DISABLE_REGISTRATION = true
GITEA__mailer__ENABLED = true
GITEA__mailer__PROTOCOL = smtp
GITEA__mailer__SMTP_ADDR = mailserver
GITEA__mailer__SMTP_PORT = 25
GITEA__mailer__PROTOCOL = sendmail
GITEA__mailer__FROM = admin@leene.dev
GITEA__mailer__SENDMAIL_ARGS = -S mailserver --