diff options
| author | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-06-01 21:14:58 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-06-01 21:14:58 +0900 |
| commit | c55ae2d5daf229b12556d6283ba4e5e8161a5eb5 (patch) | |
| tree | adb08f555e56ece4792421dfdb40b457c8f75140 /mail/docker-compose.yml | |
| parent | 5bf46bbac5feda06ec10575c6293974d80b2e3df (diff) | |
Add Postfix+OpenDKIM MTA with txt-based domain management
- mail/ ディレクトリ追加: Postfix + OpenDKIM の Docker コンテナ
- mail/domains.txt で送信ドメインを管理(現在: golive.yyamashita.com)
- install.sh が domains.txt から KeyTable/SigningTable を動的生成
- setup-route53.py で SPF/DKIM/DMARC を Route 53 に一括設定
- post-receive フックに mail/deploy.sh を追加
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'mail/docker-compose.yml')
| -rw-r--r-- | mail/docker-compose.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mail/docker-compose.yml b/mail/docker-compose.yml new file mode 100644 index 0000000..bcc6c89 --- /dev/null +++ b/mail/docker-compose.yml @@ -0,0 +1,19 @@ +services: + mail: + build: . + container_name: mail + hostname: hetzner.yyamashita.com + volumes: + - /etc/opendkim:/etc/opendkim:ro + - mail_queue:/var/spool/postfix + restart: unless-stopped + networks: + - web + +networks: + web: + external: true + name: web + +volumes: + mail_queue: |
