feat: keymaker migration, mail, web, etc

This commit is contained in:
Strix 2023-10-20 07:57:24 +02:00
parent 76bed8b05a
commit 8023c24a8f
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
13 changed files with 220 additions and 0 deletions

View file

@ -0,0 +1,34 @@
version: '2.2'
services:
mailserver:
image: ghcr.io/docker-mailserver/docker-mailserver:latest
container_name: mailserver
# Provide the FQDN of your mail server here (Your DNS MX record should point to this value)
hostname: mail.ixvd.net
env_file: ../../env/mailserver.env
# More information about the mail-server ports:
# https://docker-mailserver.github.io/docker-mailserver/latest/config/security/understanding-the-ports/
# To avoid conflicts with yaml base-60 float, DO NOT remove the quotation marks.
ports:
- "25:25" # SMTP (explicit TLS => STARTTLS)
- "143:143" # IMAP4 (explicit TLS => STARTTLS)
- "465:465" # ESMTP (implicit TLS)
- "587:587" # ESMTP (explicit TLS => STARTTLS)
- "993:993" # IMAP4 (implicit TLS)
volumes:
- /srv/mailserver/data:/var/mail/
- /srv/mailserver/config:/tmp/docker-mailserver/
- /srv/mailserver/other/state:/var/mail-state/
- /srv/mailserver/other/log/:/var/log/mail/
- /etc/localtime:/etc/localtime:ro
- /srv/certbot/data/live/mail.ixvd.net:/etc/letsencrypt/live/mail.ixvd.net
restart: always
stop_grace_period: 1m
# Uncomment if using `ENABLE_FAIL2BAN=1`:
# cap_add:
# - NET_ADMIN
healthcheck:
test: "ss --listening --tcp | grep -P 'LISTEN.+:smtp' || exit 1"
timeout: 3s
retries: 0