mirror of
https://github.com/lleene/dockerconfig.git
synced 2025-01-22 21:02:22 +01:00
WIP: need to include SMTP relay
This commit is contained in:
parent
1d08397182
commit
9c56e5359c
@ -1,13 +1,3 @@
|
||||
## Start of configuration add by letsencrypt container
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
auth_basic off;
|
||||
auth_request off;
|
||||
allow all;
|
||||
root /usr/share/nginx/html;
|
||||
try_files $uri =404;
|
||||
break;
|
||||
}
|
||||
## End of configuration add by letsencrypt container
|
||||
add_header Referrer-Policy "no-referrer" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header X-Download-Options "noopen" always;
|
||||
|
@ -192,6 +192,25 @@ services:
|
||||
- USERNAME=${DNS_USERNAME}
|
||||
- PASSWORD=${DNS_PASSWORD}
|
||||
|
||||
autodiscover:
|
||||
image: monogramm/autodiscover-email-settings:latest
|
||||
container_name: autodiscover
|
||||
environment:
|
||||
- VIRTUAL_HOST=autodiscover.${NGINX_HOST},autoconfig.${NGINX_HOST}
|
||||
- VIRTUAL_PORT=8000
|
||||
- DOMAIN=${NGINX_HOST}
|
||||
- IMAP_HOST=mail.${NGINX_HOST}
|
||||
- IMAP_PORT=993
|
||||
- IMAP_SOCKET=SSL
|
||||
- POP_HOST=mail.${NGINX_HOST}
|
||||
- POP_PORT=995
|
||||
- POP_SOCKET=SSL
|
||||
- SMTP_HOST=mail.${NGINX_HOST}
|
||||
- SMTP_PORT=587
|
||||
- SMTP_SOCKET=STARTTLS
|
||||
expose:
|
||||
- "8000"
|
||||
|
||||
volumes:
|
||||
acme-state:
|
||||
gitea_data:
|
||||
|
@ -10,7 +10,6 @@ TZ=Europe/Berlin
|
||||
ENABLE_SPAMASSASSIN=1
|
||||
SPAMASSASSIN_SPAM_TO_INBOX=1
|
||||
ENABLE_CLAMAV=1
|
||||
ENABLE_DNSBL=1
|
||||
ENABLE_FAIL2BAN=1
|
||||
ENABLE_POSTGREY=1
|
||||
ENABLE_SASLAUTHD=0
|
||||
@ -18,6 +17,9 @@ ONE_DIR=1
|
||||
TLS_LEVEL=modern
|
||||
ENABLE_UPDATE_CHECK=1
|
||||
SSL_TYPE=letsencrypt
|
||||
SPOOF_PROTECTION=1
|
||||
ENABLE_POP3=1
|
||||
ENABLE_DNSBL=1
|
||||
|
||||
## SQL Server Env
|
||||
POSTGRES_USER="pgadmin"
|
||||
|
Loading…
x
Reference in New Issue
Block a user