fix(api-gateway): 使用官方 Docker Hub 镜像解决拉取问题
- 使用 docker.io/kong/kong-gateway:3.5 官方镜像 - 使用 docker.io/library/postgres:16-alpine 官方镜像 - 保留数据库模式,完整功能支持 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
edb8134414
commit
a148f26649
|
|
@ -13,7 +13,7 @@ services:
|
||||||
# Kong Database
|
# Kong Database
|
||||||
# ===========================================================================
|
# ===========================================================================
|
||||||
kong-db:
|
kong-db:
|
||||||
image: postgres:16-alpine
|
image: docker.io/library/postgres:16-alpine
|
||||||
container_name: rwa-kong-db
|
container_name: rwa-kong-db
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: kong
|
POSTGRES_USER: kong
|
||||||
|
|
@ -34,7 +34,7 @@ services:
|
||||||
# Kong Migrations (只运行一次)
|
# Kong Migrations (只运行一次)
|
||||||
# ===========================================================================
|
# ===========================================================================
|
||||||
kong-migrations:
|
kong-migrations:
|
||||||
image: kong:3.5-alpine
|
image: docker.io/kong/kong-gateway:3.5
|
||||||
container_name: rwa-kong-migrations
|
container_name: rwa-kong-migrations
|
||||||
command: kong migrations bootstrap
|
command: kong migrations bootstrap
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -54,7 +54,7 @@ services:
|
||||||
# Kong API Gateway
|
# Kong API Gateway
|
||||||
# ===========================================================================
|
# ===========================================================================
|
||||||
kong:
|
kong:
|
||||||
image: kong:3.5-alpine
|
image: docker.io/kong/kong-gateway:3.5
|
||||||
container_name: rwa-kong
|
container_name: rwa-kong
|
||||||
environment:
|
environment:
|
||||||
KONG_DATABASE: postgres
|
KONG_DATABASE: postgres
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue