Skip to content

Commit

Permalink
chore(expose): remove the cassandra ports from 'expose'
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Tieske committed Oct 30, 2023
1 parent fc44994 commit 05f2a9d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 1 addition & 7 deletions assets/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion assets/help/expose.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 05f2a9d

Please sign in to comment.