Public | Automated Build

Last pushed: a year ago
Short Description
Docker image for running Java EE applications in Wildfly. Based on Alpine Linux and OpenJDK.
Full Description

alpine-wildfly

Docker image for running Java EE applications in Wildfly. Based on Alpine Linux and OpenJDK. Use this image as base image for you application image.

Usage

Create a Dockerfile in your project root:

FROM njmittet/alpine-wildfly:10.1.0.Final
ADD ./target/application.war /opt/jboss/wildfly/standalone/deployments/application.war

Build and run the application container:

docker build -t application .
docker run -it --rm application

Configuration

Start Wildfly with different configurations.

The default Web profile requires no configuration.

Start Wildfly with the Full profile:

docker run -it --rm -e STANDALONE=standalone-full application

Add a custom configuration file to your Dockerfile:

ADD ./standalone-custom.xml /opt/jboss/wildfly/standalone/configuration/standalone.xml

Wildfly also comes with a High Availability configuration.

docker run -it --rm -e STANDALONE=standalone-full-ha application
Docker Pull Command
Owner
njmittet
Source Repository