bridgehead/ccp/modules/dnpm-compose-beamconnect.yml

30 lines
1.0 KiB
YAML
Raw Normal View History

2023-05-10 12:54:05 +02:00
version: "3.7"
services:
beam-proxy:
environment:
APP_3_ID: dnpm-connect
APP_3_KEY: ${DNPM_BEAM_SECRET_SHORT}
dnpm-beam-connect:
depends_on: [ beam-proxy ]
image: samply/beam-connect:sites-without-auth
environment:
PROXY_URL: http://beam-proxy:8081
PROXY_APIKEY: ${DNPM_BEAM_SECRET_SHORT}
APP_ID: dnpm-connect.${PROXY_ID}
2023-05-15 13:43:01 +02:00
DISCOVERY_URL: "./conf/central_targets.json"
LOCAL_TARGETS_FILE: "./conf/connect_targets.json"
HTTP_PROXY: "http://forward_proxy:3128"
HTTPS_PROXY: "http://forward_proxy:3128"
2023-05-10 12:54:05 +02:00
NO_PROXY: beam-proxy,dnpm-backend
RUST_LOG: ${RUST_LOG:-info}
volumes:
- /etc/bridgehead/dnpm/local_targets.json:/conf/connect_targets.json:ro
2023-05-15 13:43:01 +02:00
- /etc/bridgehead/dnpm/central_targets.json:/conf/central_targets.json:ro
2023-05-10 12:54:05 +02:00
labels:
- "traefik.enable=true"
- "traefik.http.routers.dnpm-connect.rule=PathPrefix(`/dnpm-connect`)"
- "traefik.http.services.dnpm-connect.loadbalancer.server.port=8062"
- "traefik.http.routers.dnpm-connect.tls=true"