From 05f2a9d54f0a8f8533bad34fe6156ce5799cc6c1 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Mon, 30 Oct 2023 10:30:40 +0100 Subject: [PATCH] chore(expose): remove the cassandra ports from 'expose' Port 7000 is in use by Apple Airplay, and hence collides on Macos. Since Cassandra has been deprecated, the ports can be removed. This is however a breaking change. --- README.md | 8 ++++++++ assets/docker-compose.yml | 8 +------- assets/help/expose.txt | 1 - 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c5b41d48..343a7864 100644 --- a/README.md +++ b/README.md @@ -844,6 +844,14 @@ The result should be a new PR on the Pongo repo. --- +## unreleased + +* Breaking: `pongo expose` will no longer expose the Cassandra ports. This fixes + an [issue with ports in use](https://developer.apple.com/forums/thread/682332) on MacOS. + [#455](https://github.com/Kong/kong-pongo/pull/455). + +--- + ## 2.8.0 released 24-Oct-2023 * Fix: `pongo down` would not remove volumes. This diff --git a/assets/docker-compose.yml b/assets/docker-compose.yml index c4f796dd..19cb64ad 100644 --- a/assets/docker-compose.yml +++ b/assets/docker-compose.yml @@ -19,17 +19,11 @@ services: - "8445:8445" # Postgres - "5432:5432" - # Cassandra - - "7000:7000" - - "7001:7001" - - "7199:7199" - - "9042:9042" - - "9160:9160" # Redis - "6379:6379" - "6380:6380" environment: - EXPOSE: "kong:8000 kong:8001 kong:8002 kong:8003 kong:8004 kong:8443 kong:8444 kong:8445 postgres:5432 cassandra:7000 cassandra:7001 cassandra:7199 cassandra:9042 cassandra:9160 redis:6379 redis:6380" + EXPOSE: "kong:8000 kong:8001 kong:8002 kong:8003 kong:8004 kong:8443 kong:8444 kong:8445 postgres:5432 redis:6379 redis:6380" healthcheck: interval: 5s retries: 10 diff --git a/assets/help/expose.txt b/assets/help/expose.txt index 8d9dadc0..6f2cf274 100644 --- a/assets/help/expose.txt +++ b/assets/help/expose.txt @@ -11,7 +11,6 @@ dependency. Ports: - Kong : 8000, 8001, 8002, 8003, 8004, 8443, 8444, 8445 - Postgres : 5432 - - Cassandra: 7000, 7001, 7199, 9042, 9160 - Redis : 6379, 6380