File tree Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 3939 hostname "#{Socket.gethostname}"
4040 fluentd_hostname "#{ENV['FLUENTD_HOSTNAME']}"
4141 tag ${tag}
42- container_name ${record["container_name"] && record["container_name"].start_with?("/") ? record["container_name"][1..-1] : record["container_name"]}
43- log_service ${record["log_service"] && record["log_service"].start_with?("/") ? record["log_service"][1..-1] : record["log_service"]}
4442 </record>
4543</filter>
4644
Original file line number Diff line number Diff line change 11version: "3.7"
22services:
33 registry:
4- image: registry:2.8.3
4+ image: registry:3.0.0
55 command: ["/bin/sh", "/etc/docker/registry/init"]
66 environment:
77 REGISTRY_HTTP_HOST: "https://${REGISTRY_DOMAIN}"
@@ -31,6 +31,9 @@ services:
3131 REGISTRY_LOG_ACCESSLOG_DISABLED: ${REGISTRY_LOG_ACCESSLOG_DISABLED}
3232 # set to true if using self-signed certificates
3333 UPDATE_CERTIFICATES: "false"
34+ # OpenTelemetry
35+ OTEL_EXPORTER_OTLP_ENDPOINT: ${TRACING_OPENTELEMETRY_COLLECTOR_ENDPOINT}:${TRACING_OPENTELEMETRY_COLLECTOR_PORT}
36+ OTEL_SERVICE_NAME: registry-simcore
3437 networks:
3538 - public
3639 - monitored
@@ -47,7 +50,7 @@ services:
4750 resources:
4851 limits:
4952 memory: 1G
50- cpus: '2 '
53+ cpus: '6 '
5154 reservations:
5255 memory: 128M
5356 cpus: '0.1'
@@ -77,7 +80,7 @@ services:
7780 {% - raw %}
7881 hostname: "registry-ptc-{{.Node.Hostname}}-{{.Task.Slot}}"
7982 {% - endraw %}
80- image: registry:2.8.3
83+ image: registry:3.0.0
8184 environment:
8285 REGISTRY_HTTP_SECRET: ${REGISTRY_PULL_THROUGH_CACHE_HTTP_SECRET}
8386 # S3
@@ -100,6 +103,9 @@ services:
100103 # Logs
101104 REGISTRY_LOG_LEVEL: ${REGISTRY_PULL_THROUGH_CACHE_LOG_LEVEL}
102105 REGISTRY_LOG_ACCESSLOG_DISABLED: ${REGISTRY_PULL_THROUGH_CACHE_LOG_ACCESSLOG_DISABLED}
106+ # OpenTelemetry
107+ OTEL_EXPORTER_OTLP_ENDPOINT: ${TRACING_OPENTELEMETRY_COLLECTOR_ENDPOINT}:${TRACING_OPENTELEMETRY_COLLECTOR_PORT}
108+ OTEL_SERVICE_NAME: registry-pull-through-cache
103109 ports:
104110 - mode: host
105111 target: 5000
Original file line number Diff line number Diff line change @@ -32,3 +32,6 @@ REGISTRY_PULL_THROUGH_CACHE_LOG_ACCESSLOG_DISABLED=${REGISTRY_PULL_THROUGH_CACHE
3232
3333DOCKER_HUB_LOGIN = ${ DOCKER_HUB_LOGIN }
3434DOCKER_HUB_PASSWORD = ${ DOCKER_HUB_PASSWORD }
35+
36+ TRACING_OPENTELEMETRY_COLLECTOR_ENDPOINT = ${ TRACING_OPENTELEMETRY_COLLECTOR_ENDPOINT }
37+ TRACING_OPENTELEMETRY_COLLECTOR_PORT = ${ TRACING_OPENTELEMETRY_COLLECTOR_PORT }
Original file line number Diff line number Diff line change @@ -481,7 +481,7 @@ services:
481481 cpus: "0.1"
482482 memory: "256M"
483483 limits:
484- cpus: "0.5 "
484+ cpus: "1 "
485485 memory: "1G"
486486
487487 director-v2:
You can’t perform that action at this time.
0 commit comments