/gradle-docker-appservers-plugin

Highly opinionated gradle plugin to start (Up), pause (Stop), and delete (Down) a dockerized application server.

Primary LanguageGroovyApache License 2.0Apache-2.0

gradle-docker-appservers-plugin

Highly opinionated gradle plugin to start (Up), pause (Stop), and delete (Down) a dockerized application server.

Status

CI Codecov Docs Questions Release
Build Status codecov Docs Stack Overflow gradle-docker-appservers-plugin

Getting Started

buildscript() {
    repositories {
        jcenter()
    }
    dependencies {
        classpath group: 'com.aries', name: 'gradle-docker-appservers-plugin', version: 'X.Y.Z'
    }
}

apply plugin: 'gradle-docker-appservers-plugin'

Motivation and Design Goals

Being based upon the gradle-docker-applications-plugin the intent is to create pre-defined dockerized app-server application(s) for developers to use as they see fit. Be it for desktop use, in a CICD pipeline, or for an arbitrary devops usecase you can easily manage (and customize should the need arise) a dockerized app-server with a handful of tasks.

Supported Databases

The below table lists the currently supported app-servers and their default connection details.

Type Admin Username/Password Tasks
tomcat tomcat/tomcat tomcatUp, tomcatStop, tomcatDown
websphere wasadmin/wasadmin websphereUp, websphereStop, websphereDown
wildfly wildfly/wildfly wildflyUp, wildflyStop, wildflyDown