mirror of
https://github.com/samply/bridgehead.git
synced 2025-09-18 23:20:24 +02:00
add rusty spot
This commit is contained in:
@@ -10,25 +10,36 @@ services:
|
|||||||
- "traefik.http.routers.landing.middlewares=auth"
|
- "traefik.http.routers.landing.middlewares=auth"
|
||||||
- "traefik.http.routers.landing.tls=true"
|
- "traefik.http.routers.landing.tls=true"
|
||||||
|
|
||||||
# spot:
|
spot:
|
||||||
# image: docker.verbis.dkfz.de/ccp-private/central-spot
|
image: samply/rustyspot:main
|
||||||
# environment:
|
platform: linux/amd64
|
||||||
# BEAM_SECRET: "${FOCUS_BEAM_SECRET_SHORT}"
|
ports:
|
||||||
# BEAM_URL: http://beam-proxy:8081
|
- "8055:8055"
|
||||||
# BEAM_PROXY_ID: ${SITE_ID}
|
environment:
|
||||||
# BEAM_BROKER_ID: ${BROKER_ID}
|
HTTP_PROXY: ${http_proxy}
|
||||||
# BEAM_APP_ID: "focus"
|
HTTPS_PROXY: ${https_proxy}
|
||||||
# PROJECT_METADATA: "cce_supervisors"
|
NO_PROXY: beam-proxy
|
||||||
# depends_on:
|
BEAM_SECRET: "${FOCUS_BEAM_SECRET_SHORT}"
|
||||||
# - "beam-proxy"
|
BEAM_PROXY_URL: http://beam-proxy:8081
|
||||||
# labels:
|
BEAM_APP_ID: "focus"
|
||||||
# - "traefik.enable=true"
|
CORS_ORIGIN: "https://${GUI_HOST}"
|
||||||
# - "traefik.http.services.spot.loadbalancer.server.port=8080"
|
SITES: "pscc-dkfz"
|
||||||
# - "traefik.http.middlewares.corsheaders2.headers.accesscontrolallowmethods=GET,OPTIONS,POST"
|
TRANSFORM: LENS
|
||||||
# - "traefik.http.middlewares.corsheaders2.headers.accesscontrolalloworiginlist=https://${HOST}"
|
BIND_ADDR: 0.0.0.0:8055
|
||||||
# - "traefik.http.middlewares.corsheaders2.headers.accesscontrolallowcredentials=true"
|
RUST_LOG: "debug"
|
||||||
# - "traefik.http.middlewares.corsheaders2.headers.accesscontrolmaxage=-1"
|
LOG_FILE: /logs/requests.log
|
||||||
# - "traefik.http.routers.spot.rule=Host(`${HOST}`) && PathPrefix(`/backend`)"
|
volumes:
|
||||||
# - "traefik.http.middlewares.stripprefix_spot.stripprefix.prefixes=/backend"
|
- ./logs:/logs
|
||||||
# - "traefik.http.routers.spot.tls=true"
|
depends_on:
|
||||||
# - "traefik.http.routers.spot.middlewares=corsheaders2,stripprefix_spot"
|
- "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