diff --git a/bitnami/kong/3/debian-12/Dockerfile b/bitnami/kong/3/debian-12/Dockerfile index c42f6d9ace68..86b839627295 100644 --- a/bitnami/kong/3/debian-12/Dockerfile +++ b/bitnami/kong/3/debian-12/Dockerfile @@ -8,7 +8,7 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2025-06-26T06:27:07Z" \ + org.opencontainers.image.created="2025-06-27T06:27:52Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/kong/README.md" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/kong" \ diff --git a/bitnami/kong/3/debian-12/docker-compose-cluster.yml b/bitnami/kong/3/debian-12/docker-compose-cluster.yml new file mode 100644 index 000000000000..173da7b07780 --- /dev/null +++ b/bitnami/kong/3/debian-12/docker-compose-cluster.yml @@ -0,0 +1,45 @@ +# Copyright Broadcom, Inc. All Rights Reserved. +# SPDX-License-Identifier: APACHE-2.0 + +services: + postgresql: + image: docker.io/bitnami/postgresql:latest + ports: + - '5432' + volumes: + - 'postgresql_data:/bitnami/postgresql' + environment: + - POSTGRESQL_USERNAME=kong + - POSTGRESQL_PASSWORD=bitnami + - POSTGRESQL_DATABASE=kong + - ALLOW_EMPTY_PASSWORD=yes + kong: + image: docker.io/bitnami/kong:3 + ports: + - 18000:8000 + - 18443:8443 + environment: + - KONG_MIGRATE=yes + - KONG_DATABASE=postgres + - KONG_PG_HOST=postgresql + - KONG_PG_USER=kong + - KONG_PG_PASSWORD=bitnami + # See NGINX worker_processes setting at http://nginx.org/en/docs/ngx_core_module.html#worker_processes + # If in doubt, set to the amount of CPU cores divided by the number of Kong/PostgreSQL nodes in the machine + - KONG_NGINX_WORKER_PROCESSES=2 + kong2: + image: docker.io/bitnami/kong:3 + ports: + - 28000:8000 + - 28443:8443 + environment: + - KONG_DATABASE=postgres + - KONG_PG_HOST=postgresql + - KONG_PG_USER=kong + - KONG_PG_PASSWORD=bitnami + # See NGINX worker_processes setting at http://nginx.org/en/docs/ngx_core_module.html#worker_processes + # If in doubt, set to the amount of CPU cores divided by the number of Kong/PostgreSQL nodes in the machine + - KONG_NGINX_WORKER_PROCESSES=2 +volumes: + postgresql_data: + driver: local