This commit is contained in:
Michael Grote 2023-11-28 16:15:58 +01:00
parent f301138080
commit ecc9953a9f
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,27 @@
version: '3.3'
services:
postfix:
image: registry.mgrote.net/postfix:master
container_name: mail-relay
restart: always
labels:
com.centurylinklabs.watchtower.enable: true
ports:
- 1025:25
environment:
SMTP_SERVER: smtp.strato.de
SMTP_USERNAME: info@mgrote.net
SMTP_PASSWORD: {{ lookup('keepass', 'strato_smtp_password', 'password') }}
SERVER_HOSTNAME: mgrote.net
# DEBUG: "yes" # literal
ALWAYS_ADD_MISSING_HEADERS: "no" # literal
# LOG_SUBJECT: "yes" # literal
INET_PROTOCOL: ipv4
SMTP_GENERIC_MAP: "/.*/ info@mgrote.net"
networks:
- mail-relay
######## Networks ########
networks:
mail-relay:
external: true

View File

@ -76,7 +76,9 @@ compose_files:
network: traefik
- name: statping-ng
state: present
- name: loki
state: present
### oefenweb.ufw
ufw_rules:
- rule: allow