Skip to content

Commit 6d82dea

Browse files
authored
Merge branch 'main' into 2024/enhance/makeRutReplicaConfigurableViaEnvvar
2 parents 9c34fcd + 3a0e944 commit 6d82dea

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed

services/jaeger/docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ services:
5151
networks:
5252
- public
5353
- monitored
54+
- interactive_services_subnet
5455
environment:
5556
TRACING_OPENTELEMETRY_COLLECTOR_BATCH_SIZE: ${TRACING_OPENTELEMETRY_COLLECTOR_BATCH_SIZE}
5657
TRACING_OPENTELEMETRY_COLLECTOR_SAMPLING_PERCENTAGE: ${TRACING_OPENTELEMETRY_COLLECTOR_SAMPLING_PERCENTAGE}
@@ -63,3 +64,6 @@ networks:
6364
monitored:
6465
name: ${MONITORED_NETWORK}
6566
external: true
67+
interactive_services_subnet:
68+
name: ${SWARM_STACK_NAME}_interactive_services_subnet
69+
external: true

services/jaeger/template.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ TRACING_OPENTELEMETRY_COLLECTOR_BATCH_SIZE=${TRACING_OPENTELEMETRY_COLLECTOR_BAT
55
TRACING_OPENTELEMETRY_COLLECTOR_SAMPLING_PERCENTAGE=${TRACING_OPENTELEMETRY_COLLECTOR_SAMPLING_PERCENTAGE}
66
TRACING_OPENTELEMETRY_COLLECTOR_EXPORTER_ENDPOINT=${TRACING_OPENTELEMETRY_COLLECTOR_EXPORTER_ENDPOINT}
77
TRACING_OPENTELEMETRY_COLLECTOR_SERVICE_TELEMETRY_LOG_LEVEL=${TRACING_OPENTELEMETRY_COLLECTOR_SERVICE_TELEMETRY_LOG_LEVEL}
8+
SWARM_STACK_NAME=${SWARM_STACK_NAME}

services/simcore/docker-compose.deploy.public.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,42 @@ services:
1313
static-webserver:
1414
hostname: "{{.Node.Hostname}}-{{.Service.Name}}"
1515
traefik:
16+
command:
17+
- "--api=true"
18+
- "--api.dashboard=true"
19+
- "--ping=true"
20+
- "--entryPoints.ping.address=:9082"
21+
- "--ping.entryPoint=ping"
22+
- "--log.level=${SIMCORE_TRAEFIK_LOGLEVEL}"
23+
- "--accesslog=false"
24+
- "--metrics.prometheus=true"
25+
- "--metrics.prometheus.addEntryPointsLabels=true"
26+
- "--metrics.prometheus.addServicesLabels=true"
27+
- "--entryPoints.metrics.address=:8082"
28+
- "--metrics.prometheus.entryPoint=metrics"
29+
- "--entryPoints.http.address=:80"
30+
- "--entryPoints.http.forwardedHeaders.insecure"
31+
- "--entryPoints.http.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
32+
- "--entryPoints.http.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
33+
- "--entryPoints.http.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
34+
- "--entryPoints.postgres.address=:5432"
35+
- "--entryPoints.simcore_api.address=:10081"
36+
- "--entryPoints.simcore_api.forwardedHeaders.insecure"
37+
- "--entryPoints.simcore_api.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
38+
- "--entryPoints.simcore_api.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
39+
- "--entryPoints.simcore_api.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
40+
- "--entryPoints.traefik_monitor.address=:8080"
41+
- "--entryPoints.traefik_monitor.forwardedHeaders.insecure"
42+
- "--providers.swarm.endpoint=unix:///var/run/docker.sock"
43+
- "--providers.swarm.network=${SWARM_STACK_NAME}_default"
44+
# https://github.com/traefik/traefik/issues/7886
45+
- "--providers.swarm.refreshSeconds=1"
46+
- "--providers.swarm.exposedByDefault=false"
47+
- "--providers.swarm.constraints=Label(`io.simcore.zone`, `${TRAEFIK_SIMCORE_ZONE}`)"
48+
- "--tracing"
49+
- "--tracing.addinternals"
50+
- "--tracing.otlp=true"
51+
- "--tracing.otlp.http=true"
1652
deploy:
1753
labels:
1854
- prometheus-job=traefik_simcore_production

0 commit comments

Comments
 (0)