<dependency>
<groupId>com.playtika.testcontainers</groupId>
<artifactId>embedded-couchbase</artifactId>
<scope>test</scope>
</dependency>-
embedded.couchbase.enabled(true|false, default is true) -
embedded.couchbase.reuseContainer(true|false, default is false) -
embedded.couchbase.services(comma separated list, default is 'INDEX,KV,QUERY,SEARCH') -
embedded.couchbase.bucketRamMb(default is '100') -
embedded.couchbase.dockerImage(default is 'couchbase/server:7.6.8')-
Image versions on dockerhub
-
-
embedded.toxiproxy.proxies.couchbase.enabledEnables both creation of the container with ToxiProxy TCP proxy and a proxy to theembedded-couchbasecontainer.
-
embedded.couchbase.bootstrapHttpDirectPort-
NOTE: this property is also produced as System property for couchbase java client
-
-
embedded.couchbase.bootstrapCarrierDirectPort-
NOTE: this property is also produced as System property for couchbase java client
-
-
embedded.couchbase.host -
embedded.couchbase.bucket -
embedded.couchbase.user -
embedded.couchbase.password -
embedded.couchbase.toxiproxy.host -
embedded.couchbase.toxiproxy.port -
embedded.couchbase.networkAlias -
Bean
ToxiproxyContainer.ContainerProxy couchbaseContainerProxy
-
Versions of Couchbase 2.x/3.x are not functional via docker, consider use of CouchbaseMock.
-
Spring data couchbase do not allow customization of ports for couchbase client, see SpringDataTest in this repo for reference