2021-12-21 09:12:34 +01:00
|
|
|
version: '3.4'
|
|
|
|
|
2022-01-19 10:52:25 +01:00
|
|
|
volumes:
|
2022-02-24 13:01:05 +01:00
|
|
|
gbn-connector-logs:
|
|
|
|
gbn-connector-db-data:
|
|
|
|
gbn-store-db-data:
|
2022-01-19 10:52:25 +01:00
|
|
|
|
|
|
|
services:
|
2022-01-21 09:32:21 +01:00
|
|
|
traefik:
|
|
|
|
image: traefik:2.4
|
|
|
|
command:
|
|
|
|
- --api.insecure=true
|
|
|
|
- --entrypoints.web.address=:80
|
|
|
|
- --entrypoints.web-secure.address=:443
|
|
|
|
- --providers.docker=true
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 443:443
|
|
|
|
- 8080:8080
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
|
|
|
|
landing:
|
|
|
|
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"
|
|
|
|
|
2022-02-24 13:01:05 +01:00
|
|
|
gbn-connector:
|
2022-02-23 19:31:57 +01:00
|
|
|
image: "samply/share-client:gbn-feature-environmentPreconfigurationTorben"
|
2021-12-21 09:12:34 +01:00
|
|
|
environment:
|
2022-02-24 13:01:05 +01:00
|
|
|
POSTGRES_HOST: "gbn-connector-db"
|
|
|
|
POSTGRES_PASSWORD: ${CONNECTOR_POSTGRES_PASS}
|
|
|
|
HTTP_PROXY_USER: ${HTTP_PROXY_USER}
|
|
|
|
HTTP_PROXY_PASSWORD: ${HTTP_PROXY_PASSWORD}
|
|
|
|
HTTPS_PROXY_USER: ${HTTPS_PROXY_USER}
|
|
|
|
HTTPS_PROXY_PASSWORD: ${HTTPS_PROXY_PASSWORD}
|
|
|
|
LDM_URL: "${PROTOCOL}://${HOST}:${PORT}/fhir"
|
2022-01-19 10:52:25 +01:00
|
|
|
env_file:
|
2022-02-24 13:01:05 +01:00
|
|
|
- ../site-config/gbn.env
|
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
- "${HOST}:${HOSTIP}"
|
2021-12-21 09:12:34 +01:00
|
|
|
volumes:
|
2022-02-24 13:01:05 +01:00
|
|
|
- "gbn-connector-logs:/usr/local/tomcat/logs"
|
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:
|
2022-02-24 13:01:05 +01:00
|
|
|
- "gbn-connector-db"
|
2021-12-21 09:12:34 +01:00
|
|
|
restart: "always"
|
2022-02-09 10:58:32 +01:00
|
|
|
env_file:
|
|
|
|
###TODO: Move into Image
|
|
|
|
- internal.env
|
2021-12-21 09:12:34 +01:00
|
|
|
|
2022-02-24 13:01:05 +01:00
|
|
|
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-02-09 10:58:32 +01:00
|
|
|
POSTGRES_DB: "samply.connector"
|
2022-02-24 13:01:05 +01:00
|
|
|
POSTGRES_USER: "samply"
|
2022-01-04 15:26:34 +01:00
|
|
|
POSTGRES_PASSWORD: ${CONNECTOR_POSTGRES_PASS}
|
2021-12-21 09:12:34 +01:00
|
|
|
volumes:
|
2022-02-24 13:01:05 +01:00
|
|
|
- "gbn-connector-db-data:/var/lib/postgresql/data"
|
2021-12-21 09:12:34 +01:00
|
|
|
restart: "always"
|
2022-02-24 13:01:05 +01:00
|
|
|
|
|
|
|
gbn-store:
|
|
|
|
image: "samply/blaze:0.15"
|
|
|
|
environment:
|
|
|
|
BASE_URL: "${PROTOCOL}://${HOST}:${PORT}"
|
|
|
|
JAVA_TOOL_OPTIONS: "-Xmx4g"
|
2022-01-19 10:52:25 +01:00
|
|
|
env_file:
|
2022-02-24 13:01:05 +01:00
|
|
|
- ../site-config/gbn.env
|
|
|
|
volumes:
|
|
|
|
- "gbn-store-db-data:/app/data"
|
|
|
|
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"
|
|
|
|
restart: "always"
|