File tree Expand file tree Collapse file tree 7 files changed +22
-23
lines changed Expand file tree Collapse file tree 7 files changed +22
-23
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,9 @@ services:
5656 - " --providers.swarm.refreshSeconds=1"
5757 - " --providers.swarm.exposedByDefault=false"
5858 - " --providers.swarm.constraints=Label(`io.simcore.zone`, `${TRAEFIK_SIMCORE_ZONE}`)"
59- - " --tracing=true"
60- - " --tracing.addinternals"
61- - " --tracing.otlp=true"
62- - " --tracing.otlp.http=true"
59+ - " --tracing.serviceName=simcore-traefik"
60+ - " --tracing.otlp.http.endpoint=http://otel-collector:4318/v1/traces"
61+ - " --tracing.addinternals=false"
6362 deploy :
6463 resources :
6564 limits :
Original file line number Diff line number Diff line change @@ -51,10 +51,9 @@ services:
5151 - " --providers.swarm.refreshSeconds=1"
5252 - " --providers.swarm.exposedByDefault=false"
5353 - " --providers.swarm.constraints=Label(`io.simcore.zone`, `${TRAEFIK_SIMCORE_ZONE}`)"
54- - " --tracing=true"
55- - " --tracing.addinternals"
56- - " --tracing.otlp=true"
57- - " --tracing.otlp.http=true"
54+ - " --tracing.serviceName=simcore-traefik"
55+ - " --tracing.otlp.http.endpoint=http://otel-collector:4318/v1/traces"
56+ - " --tracing.addinternals=false"
5857 deploy :
5958 resources :
6059 limits :
Original file line number Diff line number Diff line change @@ -108,10 +108,9 @@ services:
108108 - " --providers.swarm.refreshSeconds=1"
109109 - " --providers.swarm.exposedByDefault=false"
110110 - " --providers.swarm.constraints=Label(`io.simcore.zone`, `${TRAEFIK_SIMCORE_ZONE}`)"
111- - " --tracing=true"
112- - " --tracing.addinternals"
113- - " --tracing.otlp=true"
114- - " --tracing.otlp.http=true"
111+ - " --tracing.serviceName=simcore-traefik"
112+ - " --tracing.otlp.http.endpoint=http://otel-collector:4318/v1/traces"
113+ - " --tracing.addinternals=false"
115114 deploy :
116115 labels :
117116 # oSparc postgres
Original file line number Diff line number Diff line change @@ -49,11 +49,9 @@ services:
4949 - " --providers.swarm.refreshSeconds=1"
5050 - " --providers.swarm.exposedByDefault=false"
5151 - " --providers.swarm.constraints=Label(`io.simcore.zone`, `${TRAEFIK_SIMCORE_ZONE}`)"
52- # - "--tracing=true"
53- # - "--tracing.addinternals"
54- # - "--tracing.otlp=true"
55- # - "--tracing.otlp.http=true"
56- - " --tracing.otlp.http.endpoint=https://otel-collector:4318/v1/traces"
52+ - " --tracing.serviceName=simcore-traefik"
53+ - " --tracing.otlp.http.endpoint=http://otel-collector:4318/v1/traces"
54+ - " --tracing.addinternals=false"
5755 deploy :
5856 resources :
5957 limits :
Original file line number Diff line number Diff line change @@ -45,10 +45,9 @@ services:
4545 - " --providers.swarm.refreshSeconds=1"
4646 - " --providers.swarm.exposedByDefault=false"
4747 - " --providers.swarm.constraints=Label(`io.simcore.zone`, `${TRAEFIK_SIMCORE_ZONE}`)"
48- - " --tracing"
49- - " --tracing.addinternals"
50- - " --tracing.otlp=true"
51- - " --tracing.otlp.http=true"
48+ - " --tracing.serviceName=simcore-traefik"
49+ - " --tracing.otlp.http.endpoint=http://otel-collector:4318/v1/traces"
50+ - " --tracing.addinternals=false"
5251 deploy :
5352 labels :
5453 - prometheus-job=traefik_simcore_production
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ services:
2828 published: 5672
2929 mode: host
3030 {% endif %}
31+ {% if OPS_TRAEFIK_EXPOSE_REDIS |lower == "true" %}
32+ - target: 6379
33+ published: 6379
34+ mode: host
35+ {% endif %}
3136 configs:
3237 - source: traefik_dynamic_config.yml
3338 target: /etc/traefik/dynamic_conf.yml
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ ROUTE53_DNS_CHALLANGE_SECRET_KEY=${ROUTE53_DNS_CHALLANGE_SECRET_KEY}
2424
2525OPS_TRAEFIK_EXPOSE_POSTGRES = ${ OPS_TRAEFIK_EXPOSE_POSTGRES }
2626OPS_TRAEFIK_EXPOSE_RABBITMQ = ${ OPS_TRAEFIK_EXPOSE_RABBITMQ }
27+ OPS_TRAEFIK_EXPOSE_REDIS = ${ OPS_TRAEFIK_EXPOSE_REDIS }
2728STORAGE_DOMAIN = ${ STORAGE_DOMAIN }
2829REGISTRY_DOMAIN = ${ REGISTRY_DOMAIN }
2930S3_ENDPOINT = ${ S3_ENDPOINT }
@@ -88,9 +89,8 @@ TRAEFIK_PING_ENTRYPOINT=ping
8889TRAEFIK_PING = true
8990TRAEFIK_ENTRYPOINTS_METRICS_ADDRESS = :8082
9091TRAEFIK_ENTRYPOINTS_POSTGRES_ADDRESS = :5432
91- TRAEFIK_ENTRYPOINTS_RABBIT_ADDRESS = :5672
92+ TRAEFIK_ENTRYPOINTS_RABBITMQ_ADDRESS = :5672
9293TRAEFIK_ENTRYPOINTS_REDIS_ADDRESS = :${ REDIS_EXTERNAL_PORT }
93-
9494# Providers
9595TRAEFIK_PROVIDERS_SWARM_ENDPOINT = unix:///var/run/docker.sock
9696TRAEFIK_PROVIDERS_SWARM_EXPOSEDBYDEFAULT = false
You can’t perform that action at this time.
0 commit comments