The whole-mesh-novox lab validation found three modules unresolvable: a provision-consuming module's minted login is mesh_<node>_<module>, and on novox `mesh_novox_only_office`(22)/`_de_spiegel`(21)/`_amqp_email_forwarder`(31) overflow the 20-char S3 access-key cap (ADR 0049). Added a short `slug` each (office/spiegel/emailfwd → 17/18/19 chars). Also fixed mailu's roundcube image: the pinned digest returns "manifest unknown" from ghcr; corrected to the real :1.9 digest. Claude-Session: https://claude.ai/code/session_01LrgweAeERJYBg88c5cKDzF
56 lines
1.6 KiB
JSON
56 lines
1.6 KiB
JSON
{
|
|
"module": "amqp-email-forwarder",
|
|
"version": "1",
|
|
"slug": "emailfwd",
|
|
"capabilities": [
|
|
"container-runtime"
|
|
],
|
|
"requires": [
|
|
"amqp"
|
|
],
|
|
"contributes": {},
|
|
"binds": {
|
|
"amqp": "/var/lib/amqp-email-forwarder/amqp.json"
|
|
},
|
|
"secrets": {
|
|
"amqp": "/var/lib/amqp-email-forwarder/amqp.secret"
|
|
},
|
|
"own-secrets": {
|
|
"smtp-user": "/var/lib/amqp-email-forwarder/smtp-user.secret",
|
|
"smtp-password": "/var/lib/amqp-email-forwarder/smtp-password.secret"
|
|
},
|
|
"resources": [
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"path": "/var/lib/amqp-email-forwarder",
|
|
"mode": "0700"
|
|
},
|
|
{
|
|
"id": "app-env",
|
|
"type": "file",
|
|
"path": "/var/lib/amqp-email-forwarder/app.env",
|
|
"mode": "0600",
|
|
"content": "AMQP_HOST=${bound:amqp:at}\nAMQP_PORT=${bound:amqp:port}\nAMQP_USER=${bound:amqp:as}\nAMQP_PASSWORD=${secret:amqp}\nAMQP_VHOST=EMAILDELIVERY_T\nAMQP_EXCHANGE=News.TransactionalEmailing.Command\nAMQP_QUEUE=email-forwarder\nAMQP_URL=amqp://${bound:amqp:as}:${secret:amqp}@${bound:amqp:at}:${bound:amqp:port}/EMAILDELIVERY_T\nSMTP_HOST=mail.novox.be\nSMTP_PORT=587\nSMTP_USER=${secret:smtp-user}\nSMTP_PASSWORD=${secret:smtp-password}\n"
|
|
},
|
|
{
|
|
"id": "net",
|
|
"type": "network",
|
|
"name": "amqp-email-forwarder"
|
|
},
|
|
{
|
|
"id": "app",
|
|
"type": "container",
|
|
"name": "amqp-email-forwarder",
|
|
"image": "registry-api.novox.be/novox/amqp-email-forwarder:latest",
|
|
"network": "amqp-email-forwarder",
|
|
"env-file": [
|
|
"/var/lib/amqp-email-forwarder/app.env"
|
|
],
|
|
"restart-on": [
|
|
"app-env"
|
|
]
|
|
}
|
|
]
|
|
}
|