Switch from dockerhub to gcr mirror (#15743)

This commit is contained in:
Hao Liu
2025-01-13 17:03:24 -05:00
committed by GitHub
parent 8ab89d29ca
commit f89be5ec8b

View File

@@ -100,7 +100,7 @@ services:
- "3000:3001" # used by the UI dev env - "3000:3001" # used by the UI dev env
{% endif %} {% endif %}
redis_{{ container_postfix }}: redis_{{ container_postfix }}:
image: redis:latest image: mirror.gcr.io/library/redis:latest
container_name: tools_redis_{{ container_postfix }} container_name: tools_redis_{{ container_postfix }}
volumes: volumes:
- "../../redis/redis.conf:/usr/local/etc/redis/redis.conf:Z" - "../../redis/redis.conf:/usr/local/etc/redis/redis.conf:Z"
@@ -112,7 +112,7 @@ services:
{% endfor %} {% endfor %}
{% if control_plane_node_count|int > 1 %} {% if control_plane_node_count|int > 1 %}
haproxy: haproxy:
image: haproxy:2.3 image: mirror.gcr.io/library/haproxy:2.3
user: "{{ ansible_user_uid }}" user: "{{ ansible_user_uid }}"
volumes: volumes:
- "./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:Z" - "./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:Z"
@@ -130,7 +130,7 @@ services:
{% endif %} {% endif %}
{% if enable_splunk|bool %} {% if enable_splunk|bool %}
splunk: splunk:
image: splunk/splunk:latest image: mirror.gcr.io/splunk/splunk:latest
container_name: tools_splunk_1 container_name: tools_splunk_1
hostname: splunk hostname: splunk
networks: networks:
@@ -145,7 +145,7 @@ services:
{% endif %} {% endif %}
{% if enable_prometheus|bool %} {% if enable_prometheus|bool %}
prometheus: prometheus:
image: prom/prometheus:latest image: mirror.gcr.io/prom/prometheus:latest
container_name: tools_prometheus_1 container_name: tools_prometheus_1
hostname: prometheus hostname: prometheus
networks: networks:
@@ -158,7 +158,7 @@ services:
{% endif %} {% endif %}
{% if enable_grafana|bool %} {% if enable_grafana|bool %}
grafana: grafana:
image: grafana/grafana-enterprise:latest image: mirror.gcr.io/grafana/grafana-enterprise:latest
container_name: tools_grafana_1 container_name: tools_grafana_1
hostname: grafana hostname: grafana
networks: networks:
@@ -199,7 +199,7 @@ services:
- "${AWX_PG_PORT:-5441}:5432" - "${AWX_PG_PORT:-5441}:5432"
{% if enable_pgbouncer|bool %} {% if enable_pgbouncer|bool %}
pgbouncer: pgbouncer:
image: bitnami/pgbouncer:latest image: mirror.gcr.io/bitnami/pgbouncer:latest
container_name: tools_pgbouncer_1 container_name: tools_pgbouncer_1
hostname: pgbouncer hostname: pgbouncer
networks: networks:
@@ -220,7 +220,7 @@ services:
{% endif %} {% endif %}
{% if enable_otel|bool %} {% if enable_otel|bool %}
otel: otel:
image: otel/opentelemetry-collector-contrib:0.88.0 image: mirror.gcr.io/otel/opentelemetry-collector-contrib:0.88.0
container_name: tools_otel_1 container_name: tools_otel_1
hostname: otel hostname: otel
command: ["--config=/etc/otel-collector-config.yaml", ""] command: ["--config=/etc/otel-collector-config.yaml", ""]
@@ -236,7 +236,7 @@ services:
{% endif %} {% endif %}
{% if enable_loki|bool %} {% if enable_loki|bool %}
loki: loki:
image: grafana/loki:2.9.5 image: mirror.gcr.io/grafana/loki:2.9.5
container_name: tools_loki_1 container_name: tools_loki_1
hostname: loki hostname: loki
ports: ports: