Merge pull request #15 from samply/version-1__corrections

Corrected some problems with GBN docker-compose.yml
This commit is contained in:
patrickskowronekdkfz 2022-07-12 11:13:09 +02:00 committed by GitHub
commit 9de0cd88fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 4 deletions

View File

@ -4,11 +4,13 @@ volumes:
gbn-connector-logs: gbn-connector-logs:
gbn-connector-db-data: gbn-connector-db-data:
gbn-store-db-data: gbn-store-db-data:
bridgehead-proxy:
blaze-data:
services: services:
traefik: traefik:
container_name: bridgehead-traefik container_name: bridgehead-traefik
image: traefik:2 image: traefik:latest
command: command:
- --entrypoints.web.address=:80 - --entrypoints.web.address=:80
- --entrypoints.websecure.address=:443 - --entrypoints.websecure.address=:443
@ -44,7 +46,7 @@ services:
landing: landing:
container_name: bridgehead-landingpage container_name: bridgehead-landingpage
image: samply/bridgehead-landingpage image: samply/bridgehead-landingpage:master
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.landing.rule=PathPrefix(`/`)" - "traefik.http.routers.landing.rule=PathPrefix(`/`)"
@ -57,7 +59,7 @@ services:
blaze: blaze:
image: "samply/blaze:0.17" image: "samply/blaze:0.17"
container_name: bridgehead-gbn-blaze container_name: bridgehead-gbn-blaze-store
environment: environment:
BASE_URL: "http://blaze:8080" BASE_URL: "http://blaze:8080"
JAVA_TOOL_OPTIONS: "-Xmx4g" JAVA_TOOL_OPTIONS: "-Xmx4g"
@ -85,12 +87,15 @@ services:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.gbn_connector.rule=PathPrefix(`/gbn-connector`)" - "traefik.http.routers.gbn_connector.rule=PathPrefix(`/gbn-connector`)"
- "traefik.http.services.gbn_connector.loadbalancer.server.port=8080" - "traefik.http.services.gbn_connector.loadbalancer.server.port=8080"
- "traefik.http.routers.gbn_connector.tls=true"
depends_on: depends_on:
- "gbn-connector-db" - "gbn-connector-db"
restart: "always" restart: "always"
gbn-connector-db: gbn-connector-db:
image: "postgres:10.17" container_name: bridgehead-gbn-connector-db
image: "postgres:10"
container_name: "bridgehead-gbn-connector-db"
environment: environment:
POSTGRES_DB: "samply.connector" POSTGRES_DB: "samply.connector"
POSTGRES_USER: "samply" POSTGRES_USER: "samply"