Fixed some merge issues

This commit is contained in:
Patrick Skowronek 2022-05-05 08:52:09 +02:00
parent 0f1f2a2feb
commit f159ea8c3c
3 changed files with 11 additions and 23 deletions

View File

@ -32,7 +32,7 @@ services:
### Does need to know the outside proxy to connect central components ### Does need to know the outside proxy to connect central components
forward_proxy: forward_proxy:
container_name: bridgehead-squid container_name: bridgehead-forward-proxy
image: ubuntu/squid image: ubuntu/squid
environment: environment:
http_proxy: ${http_proxy} http_proxy: ${http_proxy}
@ -65,11 +65,11 @@ services:
- "blaze-data:/app/data" - "blaze-data:/app/data"
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.middlewares.test-auth.basicauth.users=${bc_auth_users}" - "traefik.http.middlewares.cpp-auth.basicauth.users=${bc_auth_users}"
- "traefik.http.routers.blaze_ccp.rule=PathPrefix(`/ccp-localdatamanagement`)" - "traefik.http.routers.blaze_ccp.rule=PathPrefix(`/ccp-localdatamanagement`)"
- "traefik.http.middlewares.ccp_b_strip.stripprefix.prefixes=/ccp-localdatamanagement" - "traefik.http.middlewares.ccp_b_strip.stripprefix.prefixes=/ccp-localdatamanagement"
- "traefik.http.services.blaze_ccp.loadbalancer.server.port=8080" - "traefik.http.services.blaze_ccp.loadbalancer.server.port=8080"
- "traefik.http.routers.blaze_ccp.middlewares=ccp_b_strip,test-auth" - "traefik.http.routers.blaze_ccp.middlewares=ccp_b_strip,cpp-auth"
- "traefik.http.routers.blaze_ccp.tls=true" - "traefik.http.routers.blaze_ccp.tls=true"
ccp-search-share: ccp-search-share:
@ -82,10 +82,10 @@ services:
APP_STORE_BASEURL: "http://bridgehead-ccp-blaze:8080/fhir" APP_STORE_BASEURL: "http://bridgehead-ccp-blaze:8080/fhir"
SPRING_DATASOURCE_URL: "jdbc:postgresql://bridgehead-ccp-share-db:5432/dktk-fed-search-share" SPRING_DATASOURCE_URL: "jdbc:postgresql://bridgehead-ccp-share-db:5432/dktk-fed-search-share"
JAVA_TOOL_OPTIONS: "-Xmx1g" JAVA_TOOL_OPTIONS: "-Xmx1g"
http_proxy: "http://bridgehead-squid:3128" http_proxy: "http://bridgehead-forward-proxy:3128"
https_proxy: "http://bridgehead-squid:3128" https_proxy: "http://bridgehead-forward-proxy:3128"
HTTP_PROXY: "http://bridgehead-squid:3128" HTTP_PROXY: "http://bridgehead-forward-proxy:3128"
HTTPS_PROXY: "http://bridgehead-squid:3128" HTTPS_PROXY: "http://bridgehead-forward-proxy:3128"
depends_on: depends_on:
- ccp-search-share-db - ccp-search-share-db
- blaze - blaze

View File

@ -12,10 +12,10 @@ CENTRAL_SERVICES=" <tr>
LOCAL_SERVICES=" <tr> LOCAL_SERVICES=" <tr>
<td>Bridgehead</td> <td>Bridgehead</td>
<td>Reverse Proxy <a href=\"http://${HOST}:8080/\">Traefik</a></td> <td>Reverse Proxy <a href=\"https://${HOST}:8080/\">Traefik</a></td>
</tr>" </tr>"
if [ "$project" = "dktk" ] || [ "$project" = "c4" ] || [ "$project" = "dktk-fed" ] if [ "$project" = "ccp" ]
then then
CENTRAL_SERVICES+=" <tr> CENTRAL_SERVICES+=" <tr>
<td>CCP-IT</td> <td>CCP-IT</td>
@ -40,11 +40,11 @@ then
" "
fi fi
if [ "$project" = "dktk-fed" ] if [ "$project" = "ccp" ]
then then
LOCAL_SERVICES+=" <tr> LOCAL_SERVICES+=" <tr>
<td>DKTK</td> <td>DKTK</td>
<td><a href=\"https://${HOST}/dktk-localdatamanagement/fhir/\">Blaze</a></td> <td><a href=\"https://${HOST}/cpp-localdatamanagement/fhir/\">Blaze</a></td>
</tr> </tr>
" "
fi fi
@ -99,14 +99,6 @@ cat > ./landing/index.html <<EOL
</thead> </thead>
<tbody> <tbody>
${LOCAL_SERVICES} ${LOCAL_SERVICES}
<tr>
<td>Bridgehead</td>
<td>Reverse Proxy <a href="https://e260-serv-05/dashboard/">Traefik</a></td>
</tr>
<tr>
<td>DKTK</td>
<td><a href="https://e260-serv-05/dktk-localdatamanagement/fhir/">Blaze</a></td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>

View File

@ -1,9 +1,7 @@
#!/bin/bash #!/bin/bash
### Note: Currently not complete, needs some features before useable for production
source lib/functions.sh source lib/functions.sh
<<<<<<< HEAD
exitIfNotRoot exitIfNotRoot
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
@ -18,8 +16,6 @@ fi
export project=$1 export project=$1
=======
>>>>>>> 290fe5459d7399ff23a2a8db067c1728858350d5
if ! ./lib/prerequisites.sh; then if ! ./lib/prerequisites.sh; then
log "Prerequisites failed, exiting" log "Prerequisites failed, exiting"
exit 1 exit 1