Add complete infrastructure automation and documentation
Some checks failed
Deploy to Production / Deploy to Server (push) Has been cancelled
Some checks failed
Deploy to Production / Deploy to Server (push) Has been cancelled
- infrastructure/setup.sh: Master provisioning script for fresh Ubuntu servers - infrastructure/docker-compose.yml: Production Docker Compose configuration - infrastructure/.env.template: Environment variables template - infrastructure/nginx/: Nginx configuration with security headers - infrastructure/postfix/: Postfix + OpenDKIM email configuration - infrastructure/README.md: Complete disaster recovery guide - scripts/docfast-backup.sh: SQLite backup script with rotation All services now fully reproducible with documented disaster recovery procedures.
This commit is contained in:
parent
d99eea517c
commit
3820d7ea4d
9 changed files with 766 additions and 0 deletions
38
infrastructure/postfix/opendkim.conf
Normal file
38
infrastructure/postfix/opendkim.conf
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# OpenDKIM Configuration for DocFast
|
||||
|
||||
# Logging
|
||||
Syslog yes
|
||||
SyslogSuccess yes
|
||||
LogWhy yes
|
||||
|
||||
# Operating mode (s = sign, v = verify, sv = both)
|
||||
Mode sv
|
||||
|
||||
# Canonicalization
|
||||
Canonicalization relaxed/simple
|
||||
|
||||
# Domain and selector
|
||||
Domain docfast.dev
|
||||
Selector mail
|
||||
KeyFile /etc/opendkim/keys/docfast.dev/mail.private
|
||||
|
||||
# Network
|
||||
Socket inet:8891@localhost
|
||||
PidFile /run/opendkim/opendkim.pid
|
||||
|
||||
# Security
|
||||
OversignHeaders From
|
||||
TrustAnchorFile /usr/share/dns/root.key
|
||||
UserID opendkim
|
||||
|
||||
# Trusted hosts (who can send mail through this server)
|
||||
InternalHosts /etc/opendkim/TrustedHosts
|
||||
ExternalIgnoreList /etc/opendkim/TrustedHosts
|
||||
|
||||
# Additional security options
|
||||
RequireSafeKeys yes
|
||||
SendReports yes
|
||||
ReportAddress "postmaster@docfast.dev"
|
||||
|
||||
# Performance
|
||||
MaximumHeaders 30
|
||||
Loading…
Add table
Add a link
Reference in a new issue