2021-12-21 09:12:34 +01:00
|
|
|
version: '3.4'
|
|
|
|
|
2022-01-19 10:52:25 +01:00
|
|
|
volumes:
|
|
|
|
store-db-data:
|
|
|
|
name: "store-db-data"
|
|
|
|
connector-db-data:
|
|
|
|
name: "connector-db-data"
|
|
|
|
|
|
|
|
services:
|
2022-01-21 09:32:21 +01:00
|
|
|
traefik:
|
|
|
|
container_name: bridgehead_traefik
|
|
|
|
image: traefik:2.4
|
|
|
|
command:
|
|
|
|
- --api.insecure=true
|
|
|
|
- --entrypoints.web.address=:80
|
|
|
|
- --entrypoints.web-secure.address=:443
|
|
|
|
- --providers.docker=true
|
|
|
|
environment:
|
|
|
|
http_proxy: ""
|
|
|
|
HTTP_PROXY: ""
|
|
|
|
https_proxy: ""
|
|
|
|
HTTPS_PROXY: ""
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 443:443
|
|
|
|
- 8080:8080
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
|
|
|
|
landing:
|
|
|
|
container_name: bridgehead_landingpage
|
|
|
|
image: nginx:stable
|
|
|
|
volumes:
|
|
|
|
- ../landing/:/usr/share/nginx/html
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.landing.rule=PathPrefix(`/`)"
|
|
|
|
- "traefik.http.services.landing.loadbalancer.server.port=80"
|
|
|
|
|
2021-12-21 09:12:34 +01:00
|
|
|
store:
|
2022-01-11 13:52:20 +01:00
|
|
|
container_name: "bridgehead_gbn_blaze_store"
|
2021-12-21 09:12:34 +01:00
|
|
|
image: "samply/blaze:0.15"
|
|
|
|
environment:
|
2022-01-11 13:52:20 +01:00
|
|
|
BASE_URL: "http://bridgehead_gbn_blaze_store:8080"
|
2021-12-21 09:12:34 +01:00
|
|
|
JAVA_TOOL_OPTIONS: "-Xmx4g"
|
|
|
|
volumes:
|
|
|
|
- "store-db-data:/app/data"
|
2022-01-21 09:32:21 +01:00
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.middlewares.test-auth.basicauth.users=user:$$apr1$$RjhTX8\
|
|
|
|
ji$$3ToBWBch1K4RBnvp86TuH/"
|
|
|
|
- "traefik.http.routers.blaze_gbn.rule=PathPrefix(`/gbn-localdatamanagement`)"
|
|
|
|
- "traefik.http.middlewares.gbn_b_strip.stripprefix.prefixes=/gbn-localdatamanagement"
|
|
|
|
- "traefik.http.services.blaze_gbn.loadbalancer.server.port=8080"
|
|
|
|
- "traefik.http.routers.blaze_gbn.middlewares=gbn_b_strip,test-auth"
|
2021-12-21 09:12:34 +01:00
|
|
|
restart: "always"
|
|
|
|
|
|
|
|
connector:
|
2022-01-04 15:26:34 +01:00
|
|
|
container_name: "bridgehead_gbn_connector"
|
2021-12-21 09:12:34 +01:00
|
|
|
image: "samply/share-client:gbn-7"
|
|
|
|
environment:
|
2022-01-11 13:52:20 +01:00
|
|
|
POSTGRES_HOST: "bridgehead_gbn_connector_db"
|
2022-01-04 15:26:34 +01:00
|
|
|
POSTGRES_PASS: ${CONNECTOR_POSTGRES_PASS}
|
2022-01-19 10:52:25 +01:00
|
|
|
POSTGRES_PORT: 5432
|
|
|
|
STORE_URL: "http://bridgehead_gbn_blaze_store:8080/fhir"
|
|
|
|
env_file:
|
|
|
|
###TODO: Move into Image
|
|
|
|
- internal.env
|
2022-01-21 09:32:21 +01:00
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.gbn_connector.rule=PathPrefix(`/gbn-connector`)"
|
|
|
|
- "traefik.http.services.gbn_connector.loadbalancer.server.port=8080"
|
2021-12-21 09:12:34 +01:00
|
|
|
depends_on:
|
|
|
|
- "connector-db"
|
|
|
|
restart: "always"
|
|
|
|
|
|
|
|
connector-db:
|
2022-01-11 13:52:20 +01:00
|
|
|
container_name: "bridgehead_gbn_connector_db"
|
2021-12-21 13:48:28 +01:00
|
|
|
image: "postgres:10.17"
|
2021-12-21 09:12:34 +01:00
|
|
|
environment:
|
2022-01-04 15:26:34 +01:00
|
|
|
POSTGRES_PASSWORD: ${CONNECTOR_POSTGRES_PASS}
|
2022-01-19 10:52:25 +01:00
|
|
|
POSTGRES_PORT: 5432
|
2021-12-21 09:12:34 +01:00
|
|
|
volumes:
|
|
|
|
- "connector-db-data:/var/lib/postgresql/data"
|
|
|
|
restart: "always"
|
2022-01-19 10:52:25 +01:00
|
|
|
env_file:
|
|
|
|
###TODO: Move into Image
|
|
|
|
- internal.env
|