-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f843c68
commit a74d055
Showing
5 changed files
with
26 additions
and
78 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Dockerfile | ||
*.class | ||
.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
/.settings/ | ||
/target/ | ||
*.class | ||
.project | ||
.classpath | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,21 @@ | ||
# k8s-demo-app | ||
# Simple demo app for k8s | ||
The goal is to have a simple app which can be used to demonstrate some features you can use in k8s. | ||
|
||
This demo app uses spring boot and a h2-database as technologies. | ||
|
||
## Features | ||
- endpoint for heath check, which can be controled via environment variable | ||
- endpoint for readiness check, which can be controled via rest endpoint | ||
- background-color and some text customizable via spring config | ||
|
||
## Running | ||
Run with docker | ||
```shell | ||
docker run viadee/k8s-demo-app:latest | ||
``` | ||
|
||
## Building | ||
This is a simple maven project. Just run ```maven package```. | ||
|
||
Or just do a local docker build: ```docker build -t imagename .``` | ||
Then you can run the container locally. |