Skip to content

Commit

Permalink
downgrade elasticsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Jul 22, 2024
1 parent c20a6ec commit 6004cdd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions generators/spring-boot/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ export default class extends BaseApplicationGenerator {
});
},
async migration({ application, applicationDefaults }) {
// Downgrade elasticsearch to 7.17.4
Object.assign(application.dockerContainers, {
elasticsearchTag: '7.17.4',
elasticsearch: `${DOCKER_ELASTICSEARCH_CONTAINER}:7.17.4`,
});
const dockerContainersVersions = Object.fromEntries(
Object.entries({ ...application.dockerContainers, ...jhipster7DockerContainers }).map(([containerName, container]) => [
`DOCKER_${this._.snakeCase(containerName).toUpperCase().replace('_4_', '4')}`,
Expand Down

0 comments on commit 6004cdd

Please sign in to comment.