2022-02-16 09:59:53 +01:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
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
|
2022-03-02 09:45:33 +01:00
|
|
|
- --providers.file.directory=/etc/traefik/dynamic_conf
|
2022-02-16 09:59:53 +01:00
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 443:443
|
|
|
|
- 8080:8080
|
|
|
|
volumes:
|
2022-03-02 09:45:33 +01:00
|
|
|
- ../certs:/tools/certs
|
|
|
|
- ./traefik.yml:/etc/traefik/dynamic_conf/traefik.yml:ro
|
2022-02-16 09:59:53 +01:00
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
- ../auth/:/auth
|
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
|
|
|
blaze:
|
|
|
|
image: "samply/blaze:0.15"
|
|
|
|
container_name: bridgehead_dktk_blaze
|
|
|
|
environment:
|
|
|
|
BASE_URL: "http://blaze:8080"
|
|
|
|
JAVA_TOOL_OPTIONS: "-Xmx4g"
|
|
|
|
LOG_LEVEL: "debug"
|
|
|
|
ENFORCE_REFERENTIAL_INTEGRITY: "false"
|
|
|
|
volumes:
|
|
|
|
- "blaze-data:/app/data"
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.blaze_dktk.rule=PathPrefix(`/dktk-localdatamanagement`)"
|
|
|
|
- "traefik.http.middlewares.dktk_b_strip.stripprefix.prefixes=/dktk-localdatamanagement"
|
|
|
|
- "traefik.http.services.blaze_dktk.loadbalancer.server.port=8080"
|
2022-02-16 14:05:25 +01:00
|
|
|
- "traefik.http.routers.blaze_dktk.middlewares=dktk_b_strip"
|
2022-02-16 09:59:53 +01:00
|
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
blaze-data:
|