mirror of
https://github.com/samply/bridgehead.git
synced 2025-09-17 22:20:25 +02:00
Compare commits
5 Commits
test/pscc-
...
feature/ad
Author | SHA1 | Date | |
---|---|---|---|
|
c93fb1df0c | ||
|
1fe2837798 | ||
|
5553768a8b | ||
|
6db0ac36a6 | ||
|
95f4d4eb0c |
@@ -10,36 +10,25 @@ services:
|
||||
- "traefik.http.routers.landing.middlewares=auth"
|
||||
- "traefik.http.routers.landing.tls=true"
|
||||
|
||||
spot:
|
||||
image: samply/rustyspot:main
|
||||
platform: linux/amd64
|
||||
ports:
|
||||
- "8055:8055"
|
||||
environment:
|
||||
HTTP_PROXY: ${http_proxy}
|
||||
HTTPS_PROXY: ${https_proxy}
|
||||
NO_PROXY: beam-proxy
|
||||
BEAM_SECRET: "${FOCUS_BEAM_SECRET_SHORT}"
|
||||
BEAM_PROXY_URL: http://beam-proxy:8081
|
||||
BEAM_APP_ID: "focus"
|
||||
CORS_ORIGIN: "https://${GUI_HOST}"
|
||||
SITES: "pscc-dkfz"
|
||||
TRANSFORM: LENS
|
||||
BIND_ADDR: 0.0.0.0:8055
|
||||
RUST_LOG: "debug"
|
||||
LOG_FILE: /logs/requests.log
|
||||
volumes:
|
||||
- ./logs:/logs
|
||||
depends_on:
|
||||
- "beam-proxy"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.spot.loadbalancer.server.port=8080"
|
||||
- "traefik.http.middlewares.corsheaders2.headers.accesscontrolallowmethods=GET,OPTIONS,POST"
|
||||
- "traefik.http.middlewares.corsheaders2.headers.accesscontrolalloworiginlist=https://${HOST}"
|
||||
- "traefik.http.middlewares.corsheaders2.headers.accesscontrolallowcredentials=true"
|
||||
- "traefik.http.middlewares.corsheaders2.headers.accesscontrolmaxage=-1"
|
||||
- "traefik.http.routers.spot.rule=Host(`${HOST}`) && PathPrefix(`/backend`)"
|
||||
- "traefik.http.middlewares.stripprefix_spot.stripprefix.prefixes=/backend"
|
||||
- "traefik.http.routers.spot.tls=true"
|
||||
- "traefik.http.routers.spot.middlewares=corsheaders2,stripprefix_spot"
|
||||
# spot:
|
||||
# image: docker.verbis.dkfz.de/ccp-private/central-spot
|
||||
# environment:
|
||||
# BEAM_SECRET: "${FOCUS_BEAM_SECRET_SHORT}"
|
||||
# BEAM_URL: http://beam-proxy:8081
|
||||
# BEAM_PROXY_ID: ${SITE_ID}
|
||||
# BEAM_BROKER_ID: ${BROKER_ID}
|
||||
# BEAM_APP_ID: "focus"
|
||||
# PROJECT_METADATA: "cce_supervisors"
|
||||
# depends_on:
|
||||
# - "beam-proxy"
|
||||
# labels:
|
||||
# - "traefik.enable=true"
|
||||
# - "traefik.http.services.spot.loadbalancer.server.port=8080"
|
||||
# - "traefik.http.middlewares.corsheaders2.headers.accesscontrolallowmethods=GET,OPTIONS,POST"
|
||||
# - "traefik.http.middlewares.corsheaders2.headers.accesscontrolalloworiginlist=https://${HOST}"
|
||||
# - "traefik.http.middlewares.corsheaders2.headers.accesscontrolallowcredentials=true"
|
||||
# - "traefik.http.middlewares.corsheaders2.headers.accesscontrolmaxage=-1"
|
||||
# - "traefik.http.routers.spot.rule=Host(`${HOST}`) && PathPrefix(`/backend`)"
|
||||
# - "traefik.http.middlewares.stripprefix_spot.stripprefix.prefixes=/backend"
|
||||
# - "traefik.http.routers.spot.tls=true"
|
||||
# - "traefik.http.routers.spot.middlewares=corsheaders2,stripprefix_spot"
|
||||
|
Reference in New Issue
Block a user