c4k-website/doc/architecture.md
2022-08-05 09:24:19 +02:00

1.9 KiB

C4Context
    title c4k-webserver
    Boundary(website, "website") {
        System(website_ing1, "ingress f. host meissa-gmbh.de")
        System(website_ing2, "ingress f. host meissa.de")
        Boundary(website_pod, "website pod"){
            Boundary(aaa, "website container") {
                System(ws, "webserver")
                SystemDb(file_html, "static html")
                Rel(ws, file_html, "file ro")
            }
            Boundary(aab, "cron build website") {
                System(git_clone, "git clone/pull & lein ring server & copy to static html")
                SystemDb(file_git, "git repo")
                Rel(git_clone, file_git, "file rw")
                Rel(git_clone, file_html, "file rw")
            }           
        }
        Rel(website_ing1, ws, "http")
        Rel(website_ing2, ws, "http")        
    }