Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 894 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 894 Bytes

xld-petclinic-docker

A set of Java application packaged using Docker and using the Application dependencies in XLDeploy

Usage

  • set the docker environment
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.123:2376"
export DOCKER_CERT_PATH="/Users/bmoussaud/.docker/machine/machines/docker-machine-virtualbox-1"
export DOCKER_MACHINE_NAME="docker-machine-virtualbox-1"
# Run this command to configure your shell:
# eval "$(docker-machine env docker-machine-virtualbox-1)"
  • run mvn clean package

To integrate with XL Deploy,

  • start XL Deploy version 5.1 with the xld-docker-plugin defined here: https://github.com/bmoussaud/xld-docker-plugin
  • run mvn clean install. This command pushthe images in the registry using a timestamp for version and import the XL Deploy DAR file in XL Deploy

deployment with xld-docker-plugin