mirror of
https://github.com/samply/bridgehead.git
synced 2026-05-01 22:09:43 +02:00
fix treafik routers
This commit is contained in:
@@ -112,29 +112,16 @@ services:
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ovis-backend.rule=Host(`localhost`) && PathPrefix(`/graphql`)"
|
||||
- "traefik.http.routers.ovis-backend.tls=true"
|
||||
- "traefik.http.routers.ovis-backend.middlewares=traefik-forward-auth"
|
||||
- "traefik.http.routers.ovis-backend-ccp.rule=PathPrefix(`/ccp-ovis/graphql`)"
|
||||
- "traefik.http.routers.ovis-backend-ccp.tls=true"
|
||||
- "traefik.http.middlewares.ovis-backend-ccp-strip.stripprefix.prefixes=/ccp-ovis"
|
||||
- "traefik.http.routers.ovis-backend-ccp.middlewares=ovis-backend-ccp-strip,traefik-forward-auth"
|
||||
- "traefik.http.services.ovis-backend.loadbalancer.server.port=4001"
|
||||
|
||||
frontend:
|
||||
image: docker.verbis.dkfz.de/ovis/ovis-frontend:latest
|
||||
container_name: bridgehead-ccp-ovis-frontend
|
||||
restart: always
|
||||
environment:
|
||||
PUBLIC_GRAPHQL_URL: https://localhost/ccp-ovis/graphql
|
||||
PUBLIC_GRAPHQL_URL: https://${HOST}/ccp-ovis/graphql
|
||||
PUBLIC_LOGIN_ENABLED: "false"
|
||||
PUBLIC_OVIS_IMPORT: demo
|
||||
OVIS_CATALOGUE_UPSTREAM_URL: http://ovis-backend-data-preprocessing:9000/catalogue
|
||||
EXPRESS_AUTH_URL: http://express-auth:5000
|
||||
EXPRESS_AUTH_USERNAME: your-express-username
|
||||
EXPRESS_AUTH_PASSWORD: your-express-password
|
||||
HTTP_PROXY: ""
|
||||
HTTPS_PROXY: ""
|
||||
NO_PROXY: ""
|
||||
@@ -149,11 +136,8 @@ services:
|
||||
- /var/cache/bridgehead/ccp/ovis/shared_data:/app/dynamic-catalogue:ro
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ovis-frontend.tls=true"
|
||||
- "traefik.http.routers.ovis-frontend.rule=Host(`localhost`)"
|
||||
- "traefik.http.routers.ovis-frontend.middlewares=traefik-forward-auth"
|
||||
- "traefik.http.routers.ovis-frontend-ccp.rule=PathPrefix(`/ccp-ovis`)"
|
||||
- "traefik.http.routers.ovis-frontend-ccp.tls=true"
|
||||
- "traefik.http.routers.ovis-frontend-ccp.rule=PathPrefix(`/ccp-ovis`)"
|
||||
- "traefik.http.middlewares.ovis-frontend-ccp-strip.stripprefix.prefixes=/ccp-ovis"
|
||||
- "traefik.http.routers.ovis-frontend-ccp.middlewares=ovis-frontend-ccp-strip,traefik-forward-auth"
|
||||
- "traefik.http.routers.ovis-frontend-ccp.middlewares=ovis-frontend-ccp-strip"
|
||||
- "traefik.http.services.ovis-frontend.loadbalancer.server.port=5173"
|
||||
|
||||
Reference in New Issue
Block a user