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 Feb 7, 2024
1 parent 79d6aaa commit 4ad4f1d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@

---

## unreleased
## 3.0.0 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.
This will have an impact only if you use Cassandra AND directly access Cassandra
by exposing the ports using `pongo expose` and then connect to the Cassandra DB directly.
[#455](https://github.com/Kong/kong-pongo/pull/455).

* Fix: include the Pongo version in the generated image names to prevent running
older images after a Pongo upgrade. A new image will automatically be build now.
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 4ad4f1d

Please sign in to comment.