@startuml

actor User

cloud "Firewall devices" {

}

package "Kupol mgmnt docker" {
    [smc_redis]
    [smc_backend]
    [smc_huey]
    [smc_frontend]
    [webterminal]

    [smc_backend] -down- [smc_huey]
    [smc_backend] -down- [smc_redis]
    [smc_backend] -left- [smc_frontend]
    [smc_backend] -up- [webterminal]
}

package "Kupol request center" {
    [rc_backend]
    [rc_redis]
    [rc_huey]
    [rc_frontend]

    [rc_backend] -down- [rc_huey]
    [rc_backend] -down- [rc_redis]
    [rc_backend] -right- [rc_frontend]
}

[krakend]
[keycloak]

User -down-> [krakend]
[krakend] -down-> [smc_backend]
[krakend] -down-> [rc_backend]
[krakend] <-right-> [keycloak]

[webterminal] <-up-> "Firewall devices"
[smc_backend] <-up-> "Firewall devices"

@enduml