https://github.com/redhat-developer-demos/java-container
https://github.com/redhat-developer-demos/java-container
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/redhat-developer-demos/java-container
- Owner: redhat-developer-demos
- License: apache-2.0
- Created: 2017-03-02T17:03:21.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-05-18T00:13:42.000Z (over 6 years ago)
- Last Synced: 2025-04-08T06:51:10.961Z (8 months ago)
- Language: Java
- Size: 14.6 KB
- Stars: 66
- Watchers: 9
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# java-container
Demo project for Java Applications running inside containers - Using Spring Boot
This application was used for the following blog post: https://developers.redhat.com/blog/2017/03/14/java-inside-docker/
Build and Deploy java-container locally
---------------------------------------
1. Open a command prompt and navigate to the root directory of this application.
2. Type this command to build and execute the application:
mvn clean compile spring-boot:run
3. The application will be running at the following URL:
4. You can trigger the allocation of 80% of JVM memory accessing