[bitnami/kong] Release 3.4.0-debian-11-r27 (#48294)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2023-09-12 22:19:50 +02:00 committed by GitHub
parent a98bd75205
commit c100aeebb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 40 deletions

View File

@ -7,10 +7,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2023-09-09T18:57:38Z" \
org.opencontainers.image.created="2023-09-11T19:26:40Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="3.4.0-debian-11-r25" \
org.opencontainers.image.ref.name="3.4.0-debian-11-r27" \
org.opencontainers.image.title="kong" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="3.4.0"

View File

@ -1,59 +1,46 @@
# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
version: '2'
services:
cassandra:
image: docker.io/bitnami/cassandra:3-debian-10
postgresql:
image: docker.io/bitnami/postgresql:14
ports:
- '5432'
volumes:
- cassandra_data:/bitnami
- 'postgresql_data:/bitnami/postgresql'
environment:
- CASSANDRA_SEEDS=cassandra,cassandra2
- CASSANDRA_CLUSTER_NAME=cassandra-cluster
- CASSANDRA_PASSWORD_SEEDER=yes
- CASSANDRA_USER=kong
- CASSANDRA_PASSWORD=kong
# By default, Cassandra autodetects the available host memory and takes as much as it can.
# Therefore, memory options are mandatory if multiple Cassandras are launched in the same node.
- MAX_HEAP_SIZE=2G
- HEAP_NEWSIZE=200M
cassandra2:
image: docker.io/bitnami/cassandra:3-debian-10
volumes:
- cassandra2_data:/bitnami
environment:
- CASSANDRA_SEEDS=cassandra,cassandra2
- CASSANDRA_CLUSTER_NAME=cassandra-cluster
- CASSANDRA_USER=kong
- CASSANDRA_PASSWORD=kong
# By default, Cassandra autodetects the available host memory and takes as much as it can.
# Therefore, memory options are mandatory if multiple Cassandras are launched in the same node.
- MAX_HEAP_SIZE=2G
- HEAP_NEWSIZE=200M
- POSTGRESQL_USERNAME=kong
- POSTGRESQL_PASSWORD=bitnami
- POSTGRESQL_DATABASE=kong
- ALLOW_EMPTY_PASSWORD=yes
kong:
image: docker.io/bitnami/kong:2-debian-10
image: docker.io/bitnami/kong:3
ports:
- 18000:8000
- 18443:8443
environment:
- KONG_MIGRATE=yes
- KONG_DATABASE=cassandra
- KONG_CASSANDRA_CONTACT_POINTS=cassandra,cassandra2
- KONG_CASSANDRA_PASSWORD=kong
- 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/Cassandra nodes in the machine
# 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:2-debian-10
image: docker.io/bitnami/kong:3
ports:
- 28000:8000
- 28443:8443
environment:
- KONG_DATABASE=cassandra
- KONG_CASSANDRA_CONTACT_POINTS=cassandra,cassandra2
- KONG_CASSANDRA_PASSWORD=kong
- 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/Cassandra nodes in the machine
# 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:
cassandra_data:
driver: local
cassandra2_data:
postgresql_data:
driver: local