Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/appuio/example-jee-s2i

Java EE APPUiO S2I Example
https://github.com/appuio/example-jee-s2i

Last synced: 4 days ago
JSON representation

Java EE APPUiO S2I Example

Awesome Lists containing this project

README

        

# Java EE Example Application on APPUiO

This is a quickstart Java EE Example application for APPUiO - Swiss Container Platform

## Deployment

Create new Project if needed:

```
oc new-project example-jee-s2i
```

Create app and expose the service, to be able to reach the app from the internet:

```
oc new-app https://github.com/appuio/example-jee-s2i.git --name=appuio-jee-s2i
oc expose service appuio-jee-s2i
```

## Configuration

The current example also deploys a wildfly configuration file, the specific config file (cfg/standalone.xml) is optional.
In our example we add a custom config to show how configuration can be customized.

## Speed up your build

With S2I you can use incremental builds to speed up the build. Build artifacts like maven dependencies will be cached.

set incremental to true in your build config

```
oc edit bc appuio-jee-s2i
```

```
strategy:
type: "Source"
sourceStrategy:
from:
kind: "ImageStreamTag"
name: "appuio-jee-s2i-image:latest"
incremental: true
```