diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 84d18e62e..a0cdd138c 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -3,5 +3,5 @@ FROM gitpod/workspace-full USER root RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh \ - && sdk install java 23.r17-nik \ - && sdk default java 23.r17-nik" \ No newline at end of file + && sdk install java 21-graalce \ + && sdk default java 21-graalce" \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json index 981eff29c..66e5c5e46 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -33,6 +33,16 @@ "projectName": "boot-data-envers", "args": "--spring.profiles.active=local", "envFile": "${workspaceFolder}/.env" + }, + { + "type": "java", + "name": "Spring Boot-Application", + "request": "launch", + "cwd": "${workspaceFolder}", + "mainClass": "com.example.mongoes.Application", + "projectName": "boot-mongodb-elasticsearch", + "args": "", + "envFile": "${workspaceFolder}/.env" } ] } \ No newline at end of file diff --git a/boot-mongodb-elasticsearch/docker/docker-compose.yml b/boot-mongodb-elasticsearch/docker/docker-compose.yml index 1d999c66a..1ce995159 100644 --- a/boot-mongodb-elasticsearch/docker/docker-compose.yml +++ b/boot-mongodb-elasticsearch/docker/docker-compose.yml @@ -1,9 +1,9 @@ -version: "3.4" +version: "3.9" services: mongodb: hostname: mongodb - image: mongo:7.0.1 + image: mongo:6.0.9 volumes: - mongodb:/data/db ports: