mirror of https://github.com/samply/bridgehead.git
Cleanup from merge
This commit is contained in:
parent
411edbf0e7
commit
ef7b96372b
|
@ -1,60 +0,0 @@
|
||||||
version: "3.7"
|
|
||||||
|
|
||||||
services:
|
|
||||||
traefik:
|
|
||||||
container_name: bridgehead_traefik
|
|
||||||
image: traefik:2.4
|
|
||||||
command:
|
|
||||||
- --api.insecure=true
|
|
||||||
- --entrypoints.web.address=:80
|
|
||||||
- --entrypoints.websecure.address=:443
|
|
||||||
- --providers.docker=true
|
|
||||||
- --providers.file.directory=/configuration/
|
|
||||||
- --entrypoints.web.http.redirections.entrypoint.to=websecure
|
|
||||||
- --entrypoints.web.http.redirections.entrypoint.scheme=https
|
|
||||||
- --providers.file.watch=true
|
|
||||||
ports:
|
|
||||||
- 80:80
|
|
||||||
- 443:443
|
|
||||||
- 8080:8080
|
|
||||||
volumes:
|
|
||||||
- ../certs:/tools/certs
|
|
||||||
- ../tools/traefik/:/configuration/
|
|
||||||
- /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"
|
|
||||||
- "traefik.http.routers.landing.tls=true"
|
|
||||||
|
|
||||||
blaze:
|
|
||||||
image: "samply/blaze:0.16"
|
|
||||||
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.middlewares.test-auth.basicauth.usersfile=/auth/dktk"
|
|
||||||
- "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"
|
|
||||||
- "traefik.http.routers.blaze_dktk.middlewares=dktk_b_strip,test-auth"
|
|
||||||
- "traefik.http.routers.blaze_dktk.tls=true"
|
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
blaze-data:
|
|
|
@ -1,5 +0,0 @@
|
||||||
# Specifying a certificate that will be used for matching requests
|
|
||||||
tls:
|
|
||||||
certificates:
|
|
||||||
- certFile: /tools/certs/traefik.crt
|
|
||||||
keyFile: /tools/certs/traefik.key
|
|
Loading…
Reference in New Issue