File size limit increase for git, message size limit of mail increase

This commit is contained in:
cspark 2024-06-26 16:19:00 +01:00
parent 3adbcfc8d6
commit be1405766c
5 changed files with 14 additions and 9 deletions

View File

@ -14,6 +14,8 @@ server {
include proxy_params;
}
client_max_body_size 512M;
listen [::]:443 ssl;
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/{{ domain_name }}/fullchain.pem;

View File

@ -58,7 +58,7 @@ PermitRootLogin no
#IgnoreRhosts yes
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
PasswordAuthentication yes
#PermitEmptyPasswords no
# Change to yes to enable challenge-response passwords (beware issues with

View File

@ -30,5 +30,5 @@ services:
- ./data/certbot/certs:/etc/letsencrypt
- ./data/certbot/logs:/var/log/letsencrypt
- /etc/localtime:/etc/localtime:ro
entrypoint: sh -c "sleep 15 && certbot certonly --standalone -d mail.{{ domain_name }} --noninteractive --agree-tos --email alerts@{{ domain_name }} --no-eff-email"
entrypoint: sh -c "sleep 15 && certbot certonly --standalone -d *.{{ domain_name }} --noninteractive --agree-tos --email alerts@{{ domain_name }} --no-eff-email"

View File

@ -44,7 +44,7 @@
group: service_mail
loop:
- docker-compose.yml
# - certbot-docker-compose-initrenew.yml
# - certbot-docker-compose-initrenew.yml
- myconfig.org
- name: Copy SSL certificates

View File

@ -22,9 +22,10 @@ services:
- "993:993" # IMAPS Implicit TLS / Appears to not be used
- "143:143" # IMAPS IMAP+STARTTLS Explicit TLS / Appears to be used
deploy:
limits:
cpus: '0.10'
memory: 512M
resources:
limits:
cpus: '0.10'
memory: 512M
mailserver:
network_mode: "service:mailserver-gluetun"
@ -59,10 +60,12 @@ services:
- ENABLE_AMAVIS=0
- ENABLE_SPAMASSASSIN=0
- ENABLE_CLAMAV=0
- POSTFIX_MESSAGE_SIZE_LIMIT=0
cap_add:
- NET_ADMIN # For Fail2Ban to work
deploy:
limits:
cpus: '0.25'
memory: 512M
resources:
limits:
cpus: '0.25'
memory: 512M
restart: always