| # ****************************************************************************** |
| # Copyright (c) 2020 Contributors to the Eclipse Foundation |
| # |
| # See the NOTICE file(s) distributed with this work for additional |
| # information regarding copyright ownership. |
| # |
| # This program and the accompanying materials are made available under the |
| # terms of the Eclipse Public License v. 2.0 which is available at |
| # http://www.eclipse.org/legal/epl-2.0. |
| # |
| # SPDX-License-Identifier: EPL-2.0 |
| # ****************************************************************************** |
| |
| version: "3.8" |
| services: |
| # statment module database |
| openk-spa-db: |
| build: docker/postgresenv/. |
| ports: |
| - "9201:5432" |
| environment: |
| POSTGRES_PASSWORD: openkpostgres |
| networks: |
| - openk-net |
| # camunda used by statement module |
| openk-camunda: |
| build: |
| context: ./ |
| dockerfile: docker/camundaenv/Dockerfile |
| ports: |
| - "9202:8080" |
| networks: |
| - openk-net |
| # statement module back end |
| openk-spa-be: |
| build: |
| context: ./ |
| dockerfile: docker/runenv/Dockerfile |
| ports: |
| - "9203:80" |
| networks: |
| - openk-net |
| depends_on: |
| - "openk-spa-db" |
| - "openk-camunda" |
| - "openk-others" |
| # statement module front end |
| openk-spa-fe: |
| image: openk-spa-fe:latest |
| networks: |
| - openk-net |
| ports: |
| - "9204:80" |
| depends_on: |
| - "openk-spa-be" |
| # database for other openk modules |
| openk-others-db: |
| image: openk-others-db:latest |
| ports: |
| - "9205:5432" |
| environment: |
| POSTGRES_PASSWORD: openkpostgres |
| networks: |
| - openk-net |
| # other openk modules |
| openk-others: |
| image: openk-others:latest |
| ports: |
| # keycloak |
| - "9206:8080" |
| # tomcat with other services |
| - "9207:8080" |
| # contactdatabase back end |
| - "9208:9155" |
| networks: |
| - openk-net |
| depends_on: |
| - "openk-others-db" |
| # main entry point reverse proxy |
| openk-main: |
| build: docker/openkmain/. |
| ports: |
| # openk-services available at /statements, /portalFE, ... |
| - "9200:80" |
| networks: |
| - openk-net |
| depends_on: |
| - "openk-others" |
| - "openk-spa-fe" |
| - "openk-spa-be" |
| - "openk-camunda" |
| |
| networks: |
| openk-net: |
| driver: bridge |