diff --git a/likec4/deployment.c4 b/likec4/deployment.c4 index 8be9988..3debc88 100644 --- a/likec4/deployment.c4 +++ b/likec4/deployment.c4 @@ -65,6 +65,10 @@ deployment { namespace fibonacci 'fibonacci-app' { instanceOf edp.testApp.fibonacci } + + namespace mailhog 'mailhog' { + instanceOf edp.mailhog.mailhog + } } } diff --git a/likec4/model.c4 b/likec4/model.c4 index 5ae8243..45bea1e 100644 --- a/likec4/model.c4 +++ b/likec4/model.c4 @@ -176,12 +176,26 @@ model { ingressNginx -> minio.minio 'https' ingressNginx -> monitoring.alloy 'https' ingressNginx -> testApp.fibonacci 'https' + ingressNginx -> mailhog.mailhog 'https' } container testApp 'Fibonacci' { description 'Testapp to validate deployments' - component fibonacci 'Fibonacci' + component fibonacci 'Fibonacci' { + technology 'Golang' + icon tech:go + } + } + + container mailhog 'Mailhog' { + #internal + description 'Web and API based SMTP testing' + + component mailhog 'Mailhog' { + technology 'Golang' + icon tech:go + } } // UI requests data from the Backend @@ -265,6 +279,12 @@ views { ingressNginx -> } + view mailhog of mailhog { + include + *, + ingressNginx -> + } + }