Skip to content

Commit

Permalink
Polish "Generate test application when Compose or testcontainers are …
Browse files Browse the repository at this point in the history
…selected for neo4j"

See gh-1419
  • Loading branch information
mhalbritter committed Feb 29, 2024
1 parent 1c2c5db commit d9266ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ ComposeFileCustomizer neo4jComposeFileCustomizer(Build build, DockerServiceResol
return (composeFile) -> {
if (isNeo4jEnabled(build)) {
serviceResolver.doWith("neo4j", (service) -> composeFile.services()
.add("neo4j", service.andThen((builder) -> builder.environment("NEO4J_AUTH", "neo4j/secret"))));
.add("neo4j",
service.andThen((builder) -> builder.environment("NEO4J_AUTH", "neo4j/notverysecret"))));
}
};
}
Expand Down
2 changes: 1 addition & 1 deletion start-site/src/test/resources/compose/neo4j.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ services:
neo4j:
image: 'neo4j:latest'
environment:
- 'NEO4J_AUTH=neo4j/secret'
- 'NEO4J_AUTH=neo4j/notverysecret'
ports:
- '7687'

0 comments on commit d9266ee

Please sign in to comment.