Create neo4j container with apoc using testcontainers library

22 Views Asked by At

I'm using Testcontainers library version 10.7.1 with nodeJS. I need to create neo4j container with Apoc. I wrote this code:

const container = await new Neo4jContainer()
.withExposedPorts(7687)
.withUser('neo4j')
.withPassword('password')
.withApoc()
.start();

and when running it I get this error: Error: Log stream ended and message "Started." was not received

When removing the .withApoc() things works as expected. How can I make it work with Apoc?

0

There are 0 best solutions below