diff --git a/bridgehead b/bridgehead index d78c49f..64a1463 100755 --- a/bridgehead +++ b/bridgehead @@ -46,7 +46,6 @@ source /etc/bridgehead/site.conf case "$action" in start) checkRequirements - ./lib/generate-landingpage.sh exec docker-compose -f ./$project/docker-compose.yml --env-file /etc/bridgehead/$project.env up ;; stop) diff --git a/gbn/docker-compose.yml b/gbn/docker-compose.yml index 9eac49b..f00def5 100644 --- a/gbn/docker-compose.yml +++ b/gbn/docker-compose.yml @@ -44,14 +44,16 @@ services: landing: container_name: bridgehead-landingpage - image: nginx:stable - volumes: - - ../landing/:/usr/share/nginx/html + image: samply/bridgehead-landingpage labels: - "traefik.enable=true" - "traefik.http.routers.landing.rule=PathPrefix(`/`)" - "traefik.http.services.landing.loadbalancer.server.port=80" - "traefik.http.routers.landing.tls=true" + environment: + HOST: ${HOST} + project: ${project} + site_name: ${site_name} blaze: image: "samply/blaze:0.17" @@ -94,4 +96,4 @@ services: POSTGRES_PASSWORD: ${CONNECTOR_POSTGRES_PASS} volumes: - "gbn-connector-db-data:/var/lib/postgresql/data" - restart: "always" \ No newline at end of file + restart: "always" diff --git a/lib/generate-landingpage.sh b/lib/generate-landingpage.sh deleted file mode 100755 index 548b00a..0000000 --- a/lib/generate-landingpage.sh +++ /dev/null @@ -1,124 +0,0 @@ -#!/bin/bash - -if [ ! -d ./landing ] -then - mkdir landing -fi - -CENTRAL_SERVICES=" - CCP-IT - Monitoring Service - " - -LOCAL_SERVICES=" - Bridgehead - Reverse Proxy Traefik - " - -if [ "$project" = "ccp" ] -then - CENTRAL_SERVICES+=" - CCP-IT - Zentrale Patientenliste - - - CCP-IT - Dezentrale Suche - - - CCP-IT - Zentrale Suche - - - CCP-IT - Deployment-Server - - - CCP-IT - Zentraler Kontrollnummernerzeuger - - " - LOCAL_SERVICES+=" - CCP - Blaze - - " -fi - -if [ "$project" = "gbn" ] -then - CENTRAL_SERVICES+=" - GBN - Sample Locator - - - GBN - Negotiator - - " - LOCAL_SERVICES+=" - CCP - Blaze - - " -fi - -cat > ./landing/index.html < - - - - - - Bridgehead Overview - - - - - - - - -