feat: add ${GLOBAL_REGISTRY} for change docker image

This commit is contained in:
Sun-ZhenXing
2025-11-05 20:26:14 +08:00
parent 373cc3cdd6
commit a65a009640
127 changed files with 203 additions and 204 deletions

View File

@@ -10,7 +10,7 @@ services:
# Kong Database
kong-db:
<<: *defaults
image: postgres:${POSTGRES_VERSION:-16.6-alpine3.21}
image: ${GLOBAL_REGISTRY:-}postgres:${POSTGRES_VERSION:-16.6-alpine3.21}
volumes:
- kong_db_data:/var/lib/postgresql/data
environment:
@@ -36,7 +36,7 @@ services:
# Kong Database Migration
kong-migrations:
<<: *defaults
image: kong:${KONG_VERSION:-3.8.0-alpine}
image: ${GLOBAL_REGISTRY:-}kong:${KONG_VERSION:-3.8.0-alpine}
depends_on:
kong-db:
condition: service_healthy
@@ -53,7 +53,7 @@ services:
# Kong Gateway
kong:
<<: *defaults
image: kong:${KONG_VERSION:-3.8.0-alpine}
image: ${GLOBAL_REGISTRY:-}kong:${KONG_VERSION:-3.8.0-alpine}
depends_on:
kong-db:
condition: service_healthy
@@ -98,7 +98,7 @@ services:
# Kong Manager (Optional GUI)
kong-gui:
<<: *defaults
image: pantsel/konga:${KONGA_VERSION:-latest}
image: ${GLOBAL_REGISTRY:-}pantsel/konga:${KONGA_VERSION:-latest}
depends_on:
kong:
condition: service_healthy