Project JDK: 19 (19.0.1; vendor: Oracle OpenJDK)
Language Level: 17
Gradle JVM: 17 (17.0.5; vendor: corretto)
Team members:
- Daniel Kinsey
- Guillaume Labasse
- Mustafa Sarikaya
- Fahmi Ahmed
- Axel Tang
docker compose up -d --build
... will successfully build and run our application and MongoDB, but the application unexpectedly crashes without giving us a log to debug. We could not find any other examples of docker compose with Spring and MongoDB that wouldn't result in this behavior. Our apologies for the inconvenience.
- Install Docker Desktop.
- Run
docker run -p 27017:27017 --name mongodb -d mongoin the project root to set up a MongoDB container for the application. - With docker running, run the Gradle build file, either through an IDE or via
./gradlew bootRun.
Once the application server is up, navigate to: http://localhost:9000/