Skip to content

Commit

Permalink
fix issue with running docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Sep 21, 2023
1 parent a7d67eb commit fde79c2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
&& sdk install java 21-graalce \
&& sdk default java 21-graalce"
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@
"projectName": "boot-data-envers",
"args": "--spring.profiles.active=local",
"envFile": "${workspaceFolder}/.env"
},
{
"type": "java",
"name": "Spring Boot-Application<boot-mongodb-elasticsearch>",
"request": "launch",
"cwd": "${workspaceFolder}",
"mainClass": "com.example.mongoes.Application",
"projectName": "boot-mongodb-elasticsearch",
"args": "",
"envFile": "${workspaceFolder}/.env"
}
]
}
4 changes: 2 additions & 2 deletions boot-mongodb-elasticsearch/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit fde79c2

Please sign in to comment.