Phase 4: service registry — index.json + 4 service manifests

This commit is contained in:
2026-05-09 09:53:05 -04:00
commit cab94f135b
6 changed files with 104 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"id": "email",
"name": "Email Server",
"description": "Full email server: Postfix (SMTP) + Dovecot (IMAP). Requires a domain and proper DNS MX records.",
"version": "1.0.0",
"author": "roof",
"image": "mailserver/docker-mailserver:latest",
"volumes": [{"name": "mail-data", "mount": "/var/mail"}, {"name": "mail-state", "mount": "/var/mail-state"}],
"env": [{"key": "DOMAINNAME", "value": "${CELL_DOMAIN}"}, {"key": "HOSTNAME", "value": "mail"}],
"caddy_route": null,
"dns_entry": {"subdomain": "mail"},
"iptables_rules": [
{"type": "ACCEPT", "dest_ip": "${SERVICE_IP}", "dest_port": 25, "proto": "tcp"},
{"type": "ACCEPT", "dest_ip": "${SERVICE_IP}", "dest_port": 587, "proto": "tcp"},
{"type": "ACCEPT", "dest_ip": "${SERVICE_IP}", "dest_port": 993, "proto": "tcp"}
],
"container_name": "cell-mail",
"network_ip_var": "MAIL_IP",
"ports": [25, 587, 993]
}