Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.65 KB

File metadata and controls

37 lines (30 loc) · 1.65 KB

embedded-couchbase

Maven dependency

pom.xml
<dependency>
    <groupId>com.playtika.testcontainers</groupId>
    <artifactId>embedded-couchbase</artifactId>
    <scope>test</scope>
</dependency>

Consumes (via bootstrap.properties)

  • 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 set to '100')

  • embedded.couchbase.dockerImage (default is set to 'couchbase/server:6.5.1')

Produces

  • embedded.couchbase.bootstrapHttpDirectPort

  • embedded.couchbase.bootstrapCarrierDirectPort

  • embedded.couchbase.host

  • embedded.couchbase.bucket

  • embedded.couchbase.user

  • embedded.couchbase.password

Notes

  • 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