Files
docker/monitoring/mtls-bridge/docker-compose.yml
T

26 lines
886 B
YAML

services:
mtls-bridge:
profiles: ["monitoring", "all", "mtls-bridge"]
build:
context: ${PROJECT_ROOT}/monitoring/mtls-bridge
container_name: mtls-bridge
restart: unless-stopped
environment:
- TARGET_URL=https://node-red.lan.ddnsgeek.com/docker-update-lockouts/clear
- CLIENT_CERT=/certs/clients/office-pc/office-pc.crt
- CLIENT_KEY=/certs/clients/office-pc/office-pc.key
- TIMEOUT=5
- LOG_LEVEL=${MTLS_BRIDGE_LOG_LEVEL:-INFO}
- UPSTREAM_CA_CERT=${MTLS_BRIDGE_UPSTREAM_CA_CERT:-}
volumes:
- ${PROJECT_ROOT}/core/traefik/certs:/certs:ro
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8080/health', timeout=3).read()"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
networks:
- monitor
- traefik