Skip to content

Commit

Permalink
documentation and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
onlineandy committed Aug 29, 2019
1 parent f843c68 commit a74d055
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 78 deletions.
49 changes: 0 additions & 49 deletions .classpath

This file was deleted.

3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Dockerfile
*.class
.gitignore
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/.settings/
/target/
*.class
.project
.classpath

28 changes: 0 additions & 28 deletions .project

This file was deleted.

22 changes: 21 additions & 1 deletion README.md
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.

0 comments on commit a74d055

Please sign in to comment.