tsadigovAgmail / devconf-2020-devfile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Architecture

      + - - - - - +
      |  BROWSER  |
      + - - - - - +
            |
            |
            | - - - - - - - - - - >|
            |                      |
            |                      |                                public
  -------------------------------------------------------------------------
           /\                      /\                                  k8s
           ||                      ||
           ||                      ||
           ||                      ||
           ||                      ||
         (4100)            (web-backend:8080)
    +--------------+       +-----------------+             +-----------+
    |              |       |                 |             |           |
    |   FRONTEND   |       |     BACKEND     |-------(3600)|     DB    |
    |  (js-react)  |       |  (java-spring)  |             |  (mysql)  |
    |              |       |                 |             |           |
    +--------------+       +-----------------+             +-----------+

resources

che.openshift.io

db

build.gradle

runtime('mysql:mysql-connector-java')

application.properties

database=mysql
spring.datasource.url=jdbc:mysql://db:3306/demo
spring.datasource.username=demo
spring.datasource.password=demo

About