Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/appuio/example-jee-s2i
- Owner: appuio
- License: apache-2.0
- Created: 2016-09-15T12:38:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:50:12.000Z (about 1 year ago)
- Last Synced: 2023-12-15T03:56:02.656Z (about 1 year ago)
- Language: Java
- Homepage: http://docs.appuio.ch/en/latest/app/javaees2i.html
- Size: 291 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```