feat: add ${GLOBAL_REGISTRY} for change docker image
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user