Skip to content

Commit 9e23334

Browse files
committed
Update README.md
1 parent b7a975d commit 9e23334

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,15 @@ public class SomeTest extends AbstractCouchbaseTest {
4646

4747
### Special consideration
4848

49-
Couchbase testContainer is configured to use random available [ports](https://developer.couchbase.com/documentation/server/current/install/install-ports.html) for some ports only, as [Couchbase Java SDK](https://developer.couchbase.com/documentation/server/current/sdk/java/start-using-sdk.html) permit to configure only some ports :
49+
Begining from version [1.2](https://github.com/differentway/testcontainers-java-module-couchbase/releases/tag/1.2), Couchbase testContainer is configured to use random available ports for all [ports](https://developer.couchbase.com/documentation/server/current/install/install-ports.html) :
5050
- **8091** : REST/HTTP traffic ([bootstrapHttpDirectPort](http://docs.couchbase.com/sdk-api/couchbase-java-client-2.4.6/com/couchbase/client/java/env/DefaultCouchbaseEnvironment.Builder.html#bootstrapCarrierDirectPort-int-))
5151
- **18091** : REST/HTTP traffic with SSL ([bootstrapHttpSslPort](http://docs.couchbase.com/sdk-api/couchbase-java-client-2.4.6/com/couchbase/client/java/env/DefaultCouchbaseEnvironment.Builder.html#bootstrapCarrierSslPort-int-))
5252
- **11210** : memcached ([bootstrapCarrierDirectPort](http://docs.couchbase.com/sdk-api/couchbase-java-client-2.4.6/com/couchbase/client/java/env/DefaultCouchbaseEnvironment.Builder.html#bootstrapCarrierDirectPort-int-))
5353
- **11207** : memcached SSL ([bootstrapCarrierSslPort](http://docs.couchbase.com/sdk-api/couchbase-java-client-2.4.6/com/couchbase/client/java/env/DefaultCouchbaseEnvironment.Builder.html#bootstrapCarrierSslPort-int-))
54-
55-
All other ports cannot be changed by Java SDK, there are sadly fixed :
5654
- **8092** : Queries, views, XDCR
5755
- **8093** : REST/HTTP Query service
5856
- **8094** : REST/HTTP Search Service
5957
- **8095** : REST/HTTP Analytic service
6058

61-
So if you disable Query, Search and Analytic service, you can run multiple instance of this container, otherwise, you're stuck with one instance, for now.
62-
6359
---
6460
[![Build Status](https://travis-ci.org/differentway/testcontainers-java-module-couchbase.svg?branch=master)](https://travis-ci.org/differentway/testcontainers-java-module-couchbase) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.differentway/couchbase-testcontainer/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.differentway/couchbase-testcontainer) [![Licence](https://img.shields.io/hexpm/l/plug.svg)](https://github.com/differentway/testcontainers-java-module-couchbase/blob/master/LICENSE)

0 commit comments

Comments
 (0)